Commit Graph

130 Commits

Author SHA1 Message Date
gwr f2e57c6dc8 Eliminate remaining direct references to the z8530 chip
to allow the MD access functions to do delays, etc.
1996-01-30 22:34:52 +00:00
gwr f261ae08c7 Update for the new z8530 driver 1996-01-24 22:39:48 +00:00
chuck 8f339409b7 sync with sparc:
- move disk_attach() to before reading the disk label as per Jason.
	otherwise we are reading into an unallocated buffer (oops!)
1996-01-13 03:50:05 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
thorpej 7e01b868cc It's safe to use <dev/ic/ncr5380*.h> now. 1996-01-01 22:51:26 +00:00
mycroft 3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft 9ca6a401eb Use the MI LANCE code. 1995-12-10 08:46:05 +00:00
gwr 5d5c8d0d4b Latest, greatest version of the new NCR driver.
DMA works!  Interrupts work!  Disconnect/reselect works!
To be paranoid, leave that all disabled for now...
1995-11-17 23:27:41 +00:00
gwr 6b20139b41 Add copyright 1995-11-17 23:24:56 +00:00
gwr 3dcdca7c52 Allow unit != 0 1995-11-10 21:59:30 +00:00
gwr b3a6cbaeb0 New from Chuck Cranor: drivers for SMD disks!
xd: Xylogics 753/7053 SMD disk controller
xy: Xylogics 450/451 SMD disk controller
These now compile, but have not been tested.
1995-10-30 20:58:04 +00:00
gwr 93d0f65970 New SCSI driver for the NCR5380, by David Jones.
Does DMA with interrupts.  Much faster than our old
driver which did only PIO transfers. (Thanks David!)
Could be used on the amiga, and probably others...
1995-10-29 21:19:06 +00:00
gwr f966527839 Work around the LANCE Rev. C bug in a way that does not cause error
messages when BPF puts the interface in to promiscuous mode.
1995-10-27 15:53:39 +00:00
gwr df737690d7 Remove (again) things accidently revived by cvs tag... 1995-10-13 19:37:06 +00:00
gwr 09cbbafa0a Minor cleanup. 1995-10-08 23:42:58 +00:00
gwr f5bcca1fab Machine-dependent part of the new RAM-disk driver.
This module lets one build a stand-alone kernel.
1995-10-08 23:42:42 +00:00
gwr 1b6586b2bb Note that this should be merged with dev/ic/i82586reg.h 1995-10-08 23:41:36 +00:00
gwr 13fa3c4fe6 Temporary hack to restrict open to root or the
same UID as the session attached to /dev/kd
1995-10-08 23:40:42 +00:00
gwr 3c868e07f9 New DVMA interface, and various cleanup. 1995-09-26 04:01:53 +00:00
gwr 2666f17777 SCSI bus phase not valid until REQ is true (Fix from David Jones). 1995-08-14 20:00:00 +00:00
mycroft 80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
gwr c96c328a9d Use old-style function definitions (like the sparc driver). 1995-08-08 20:54:08 +00:00
gwr 2a3eef935e Improve handling of a device that "sits on" the bus (from Jason Thorpe) 1995-08-08 20:53:16 +00:00
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
gwr c4746effe0 Correct !DDB console abort (thanks to David Brownlee) 1995-07-03 02:52:13 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
gwr 3a59870c12 Leave modem control lines in correct state on interrupted open.
(From sparc/dev/zs.c)
1995-06-27 14:36:20 +00:00
gwr f872dedb62 Catch up with net/if.h changes 1995-06-27 14:34:32 +00:00
gwr 64543c95b6 Fix several missing (and REQUIRED) calls to ZS_DELAY() 1995-06-13 22:11:33 +00:00
gwr 9b910268e1 Better reset code, and reset the chip when it goes comatose. 1995-06-01 20:22:17 +00:00
gwr 6e6f7ede65 Improve probe (should reject "sc" board now) 1995-05-24 20:52:27 +00:00
gwr 51e2d10bd0 Sunc with sparc version (adds key repeat capability) 1995-05-24 20:51:31 +00:00
gwr 20f34f40d2 Turn off IFF_MULTICAST for now... 1995-05-24 20:49:38 +00:00
gwr 29e0f797d4 Fix missing return(0) - from Jason Thorpe - fixes PR 1049 1995-05-24 20:47:41 +00:00
gwr ac1a62db29 Add xxtty() 1995-04-26 23:20:15 +00:00
gwr 6d7bcdbd2a Add work-around for LANCE Rev. C bug.
Needs to be fixed for multicasts...
1995-04-26 23:19:16 +00:00
gwr ef7ca50d54 Make less noise about CRC/Framing errors (Sun3/50 gets lots of them). 1995-04-16 01:52:07 +00:00
gwr 06e64bc965 arpwhohas -> arp_ifinit etc. 1995-04-13 21:54:55 +00:00
gwr 6ab590ff6b fix typo 1995-04-13 21:51:34 +00:00
mycroft 369e66a776 Sync with the rest of the world. 1995-04-11 06:03:36 +00:00
mycroft 3b6535707e Use global 8530 defs. 1995-04-11 02:41:42 +00:00
gwr 89c2b367b3 Oops, sparc -> sun3 1995-04-10 22:11:22 +00:00
mycroft c126c9401f Add a dummy kdstop(). 1995-04-10 07:33:53 +00:00
mycroft 795010b56c map --> mmap 1995-04-10 07:04:18 +00:00
mycroft 63dcb06933 Add promstop(), adjust return types, make sure ttselect() doesn't panic, and
obey standard style conventions.
1995-04-10 06:14:57 +00:00
mycroft ca5caf005a map --> mmap 1995-04-10 05:45:26 +00:00
gwr f0dfc32ae9 Sync with net/if.h changes 1995-04-09 05:08:33 +00:00
gwr a1cc6d49c4 It works now. 1995-04-08 04:40:27 +00:00
gwr d0d1dc8a4e Fix that probe sequence right this time. 1995-04-07 05:19:24 +00:00
gwr 0af73b6fc3 Changed fb_attach() interface 1995-04-07 02:51:21 +00:00