summaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagupstream/2.2.0release/2.2.0cvs2svn1997-03-1712-6186/+0
| | | | | | | | 'RELENG_2_2_0_RELEASE'. Notes: svn path=/stable/2.2/; revision=23958 svn path=/release/2.2.0/; revision=23959; tag=release/2.2.0
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1997-03-1611-0/+5501
| | | | Notes: svn path=/stable/2.2/; revision=23932
* Somehow this file had its Id changed to FreeBSD.Justin T. Gibbs1997-03-012-2/+2
| | | | | | | Pointed out by: bde@FreeBSD.org Notes: svn path=/stable/2.2/; revision=23234
* Sync with current.Justin T. Gibbs1997-02-281-39/+28
| | | | Notes: svn path=/stable/2.2/; revision=23171
* Sync with current.Justin T. Gibbs1997-02-252-8/+19
| | | | Notes: svn path=/stable/2.2/; revision=23101
* Enlarge the message out buffer from 6 to 8 bytes. Now that sync and wideJustin T. Gibbs1997-02-182-18/+11
| | | | | | | | | | | | | | | negotiation messages may be tagged, we were overrunning the old buffer. The variable that was getting squashed is updated before the message goes out, causing corrupted SDTR or WDTR messages. Depending on the phases traversed before message out, this could cause the wrong offset to be negotiated allowing data overruns to occur. The problem is easier to detect with wide targets on the chain since the allowed offset is smaller. Also removed the unnecessary clearing of SPIORDY during the message out phase. We don't rely on SPIORDY any more. Notes: svn path=/stable/2.2/; revision=22892
* Sync with current. Clear up data overrun problems.Justin T. Gibbs1997-02-122-52/+56
| | | | Notes: svn path=/stable/2.2/; revision=22608
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1997-02-064-0/+3412
| | | | Notes: svn path=/stable/2.2/; revision=22350
* Sync with current.Justin T. Gibbs1997-02-031-7/+4
| | | | Notes: svn path=/stable/2.2/; revision=22236
* Sync with Justin's latest.Jordan K. Hubbard1997-01-302-120/+108
| | | | | | | Requested-By: gibbs Notes: svn path=/stable/2.2/; revision=22108
* YAMFC (if_vx is always in promiscous mode)Poul-Henning Kamp1997-01-281-15/+12
| | | | Notes: svn path=/stable/2.2/; revision=22063
* Fix CCD for bounced devices.John Dyson1997-01-101-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=21470
* YAMFCPoul-Henning Kamp1996-12-031-57/+81
| | | | Notes: svn path=/stable/2.2/; revision=20112
* YAMFCPoul-Henning Kamp1996-11-251-3/+6
| | | | Notes: svn path=/stable/2.2/; revision=19955
* Mega-merge from -currentPoul-Henning Kamp1996-11-122-36/+29
| | | | Notes: svn path=/stable/2.2/; revision=19666
* Remove advansys driver from 2.2Poul-Henning Kamp1996-11-094-2593/+0
| | | | Notes: svn path=/stable/2.2/; revision=19590
* Merge from -currentPoul-Henning Kamp1996-11-091-15/+28
| | | | Notes: svn path=/stable/2.2/; revision=19588
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1996-11-092-0/+1528
| | | | Notes: svn path=/stable/2.2/; revision=19574
* Merge list from HEAD as requested by Justin.Jordan K. Hubbard1996-11-091-3/+3
| | | | Notes: svn path=/stable/2.2/; revision=19568
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1996-11-0277-64213/+0
| | | | Notes: svn path=/stable/2.2/; revision=19327
* if_sr.c corrupted the global variable `ticks'.John Hay1996-10-314-40/+18
| | | | | | | | | | Cosmetic changes: if_sr_.c won't compile with a K&R compiler, so there is no need to cast the timeout arg to the (wrong) type. Submitted by: bde Notes: svn path=/head/; revision=19296
* More merge and update.Satoshi Asami1996-10-301-2/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | (1) deleted #if 0 pc98/pc98/mse.c (2) hold per-unit I/O ports in ed_softc pc98/pc98/if_ed.c pc98/pc98/if_ed98.h (3) merge more files by segregating changes into headers. new file (moved from pc98/pc98): i386/isa/aic_98.h deleted: well, it's already in the commit message so I won't repeat the long list here ;) Submitted by: The FreeBSD(98) Development Team Notes: svn path=/head/; revision=19269
* Add support for the SDL RISCom N2pci cards. Bring in the enhancementsJohn Hay1996-10-294-1583/+4364
| | | | | | | made to the Arnet driver. Notes: svn path=/head/; revision=19242
* Remove some unnecessary code in the interrupt handler.John Hay1996-10-282-24/+30
| | | | | | | | | | Check that a received packet isn't longer than MCLBYTES. This will sometimes happen if a cable is plugged into or removed from a live system. Try to cater better for early receive interrupts. Notes: svn path=/head/; revision=19236
* A #define really don't need a ; at the end.John Hay1996-10-281-2/+2
| | | | Notes: svn path=/head/; revision=19235
* In data_phase_reinit when I converted the code to use bcopy, I should haveJustin T. Gibbs1996-10-281-3/+3
| | | | | | | | | used mvi instead of mov. Luckily this code is most likely never executed since it is only there for sanity should a target goes into the data phase twice during a single selection or reselection. Notes: svn path=/head/; revision=19231
* Fix problems dealing with non-tagged devices when SCB paging is enabled.Justin T. Gibbs1996-10-282-48/+53
| | | | | | | | Mostly this involved changing the semantics of the findSCB routine so that it could be used at times other than handling a reconnection. Notes: svn path=/head/; revision=19218
* Use the calibrated/adjustable i8254 frequency `timer_freq' instead ofSøren Schmidt1996-10-261-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TIMER_FREQ. Fixed missing splx() in scrn_timer(). The bug was harmless because of the undocumented behaviour that the ipl is automatically restored for timeout functions (see softclock()). Perhaps we should depend on this behaviour. Fixed the ddb fix in rev.1.176. The in_debugger flag was no use because it only works when the debugger is entered via the keyboard hotkey. The debugger may be entered for breakpoints and traps, and the console putc routine has no way of knowing when it was, so the console putc routine must (almost?) always remove the cursor image. Not fixed: console switching in ddb doesn't work (ISTR it working), and console 0 shouldn't be switched to for the debugger hotkey unless console 0 is /dev/console. Fixed side effects from calling add_keyboard_randomness() in the console getc routine by not calling it. add_keyboard_randomness() currently always reenables interrupts on 386's and 486's. This is very bad if the console getc routine is called from the debugger and the debugger was entered with interrupts disabled. Fixed preservation of initial screen and now-bogus comment about it. It was broken by setting the initial scr_buf to `buffer' instead of Crtat. `buffer' was full of nulls and the first scroll cleared everything above the things written through syscons. Submitted by: bruce (bde@freebsd.org) Notes: svn path=/head/; revision=19197
* Use macros from timmerreg.h instead of private ones.Bruce Evans1996-10-251-28/+7
| | | | | | | | | | | Use global timer_freq instead of private TIMER_CLK. Removed unused #includes. Fixed some comments. Notes: svn path=/head/; revision=19174
* Go back to using DMA to get SCBs down to the adapter.Justin T. Gibbs1996-10-252-354/+483
| | | | | | | | | | | | | SCB paging is now handled almost entirely by the sequencer and also uses DMA. This should make SCB paging at least an order of magnitude more efficient and vastly simplifies the implementation. Add a few space optimizations so this code still fits on aic7770 chips. Update comments. Notes: svn path=/head/; revision=19164
* Remove SC_KBD_PROBE_WORKS option and replace it with a simple run-time flagPaul Traina1996-10-233-8/+12
| | | | | | | | | | | | bit (0x0008) in the sc driver configuration line. This way it's easy to boink a generic kernel. Also, document and place in an opt_ file the #define's for overriding which serial port is the system console. Approved by: sos Notes: svn path=/head/; revision=19123
* Add support for ioctl() accesses to PCI config space registers.Stefan Eßer1996-10-222-4/+167
| | | | | | | | | | | | Garrett Wollman sent me this code a few weeks ago for review, and I made some significant changes, which he in turn accepted ... In order to make use of these changes, a device entry has to added to /dev. Submitted by: wollman Notes: svn path=/head/; revision=19101
* Changed mouse functionality a bit, now the pointer disappears ifSøren Schmidt1996-10-182-17/+39
| | | | | | | | | | | | | there is keyboard input. The mousepointer is shown again immediately if moved. Also a function pointer used to install a userwritten extra ioctl handler (sc_user_ioctl). This way its is possible to install user defined videomodes etc etc. No further changes should be in the kernel. Notes: svn path=/head/; revision=19022
* This patch attempts to make the pccard probe in if_ed.c work withNate Williams1996-10-171-96/+24
| | | | | | | | | | non-memory-mapped cards. Submitted by: Michael Smith <msmith@atrad.adelaide.edu.au> Reviewed by: phk,dg Notes: svn path=/head/; revision=18979
* Corrected the setting of winsize on open().Søren Schmidt1996-10-151-5/+10
| | | | | | | Problem pointed out by David Nugent - davidn@blaze.net.au. Notes: svn path=/head/; revision=18948
* Updated #includes to 4.4lite style.Bruce Evans1996-10-153-6/+7
| | | | Notes: svn path=/head/; revision=18946
* Fixed a bug that got introduced when I changed the CY16_RESET andDavid Greenman1996-10-142-6/+6
| | | | | | | | CY_CLEAR_INTR definitions. This might have affected probing of ISA versions of the Cyclom 16/32-Y. Notes: svn path=/head/; revision=18926
* Make this compile again for the CyDebug case.David Greenman1996-10-142-12/+14
| | | | Notes: svn path=/head/; revision=18925
* pci_map_mem() did a too restrictive check on the mapping type:Stefan Eßer1996-10-141-2/+4
| | | | | | | | | PCI_MAP_MEMORY_TYPE_32BIT_1M should be accepted as well as PCI_MAP_MEMORY_TYPE_32BIT (and now is). (Problem reported by David Greenman.) Notes: svn path=/head/; revision=18922
* Change DEVFS device naming convention for cuac*, ttyc*.David Greenman1996-10-132-14/+26
| | | | Notes: svn path=/head/; revision=18903
* Changes to add support for the PCI version of the Cyclades Cyclom-YDavid Greenman1996-10-134-270/+467
| | | | | | | serial adapter, and support for multiple Cyclom controllers. Notes: svn path=/head/; revision=18901
* Removed nested include if <sys/socket.h> from <net/if.h> andBruce Evans1996-10-122-2/+4
| | | | | | | | | | <net/if_arp.h> and fixed the things that depended on it. The nested include just allowed unportable programs to compile and made my simple #include checking program report that networking code doesn't need to include <sys/socket.h>. Notes: svn path=/head/; revision=18892
* Staticized. Things exported by linker sets should always be static.Bruce Evans1996-10-121-2/+2
| | | | Notes: svn path=/head/; revision=18887
* Implement the RFC 1650 MIB.Garrett Wollman1996-10-111-6/+64
| | | | Notes: svn path=/head/; revision=18869
* Implement the 802.3 MIB in a way that uses the generic interfaceGarrett Wollman1996-10-101-3/+17
| | | | | | | defined in if_mib.h. Notes: svn path=/head/; revision=18857
* Don't claim the console when the driver is disabled. The getc/putcBruce Evans1996-10-091-2/+2
| | | | | | | | part of the console driver usually works when the driver is disabled, but the normal read/write part doesn't (it caused a panic). Notes: svn path=/head/; revision=18831
* Fix padding of short packets (PR#1701).Garrett Wollman1996-10-071-12/+10
| | | | | | | Submitted by: seki@sysrap.cs.fujitsu.co.jp Notes: svn path=/head/; revision=18794
* Advanced Systems Inc. SCSI Controller driver and ISA/VL front end.Justin T. Gibbs1996-10-075-0/+2816
| | | | | | | | | | | | | | | | | | | | | | I have only tested the ABP5140 card and only with a single CDROM drive but it seems to work fine. This driver relies on features found only in the SCSI branch so will not work in -current until those changes are brought in. It also doesn't have any error handling code *yet*. The goal is to use this driver as the development platform for the new generic SCSI layer error recovery/handling code. PCI and EISA front ends will show up as soon as I get my hands on the cards. There are also a few issues in the driver that I need to clear up with AdvanSys before I can suggest sticking one of these cards in your server. 8-) Thanks to AdvanSys for releasing this code under a suitable copyright. Obtained from: Ported from the Linux driver writen by bobf@advansys.com (Bob Frey). Notes: svn path=/cvs2svn/branches/GIBBS/; revision=18781
* Bring aic7xxx driver bug fixes from 'SCSI' into current.Justin T. Gibbs1996-10-062-164/+71
| | | | Notes: svn path=/head/; revision=18762
* Oops, missed a chunk in that last commit.David Greenman1996-10-042-6/+6
| | | | Notes: svn path=/head/; revision=18685