Commit Graph

24 Commits

Author SHA1 Message Date
thorpej
39cbdb7e9f Fix kernel crash dumps. Still uses the old format for now. 1996-10-06 00:14:12 +00:00
thorpej
bcab59cd3c Remove the old-style disk instrumentation support. Nothing uses it
anymore.
1996-06-06 16:17:41 +00:00
thorpej
d6f4511690 All interrupt routines (except the HIL; don't ask) now take a pointer
to a softc, rather than a unit number.  Add a "dq_softc" member
to struct devqueue; this is a temporary measure until the
dma/controller/device callback spaghetti is untangled.

YAY!  No more need for dcafastservice!

HIL: squish instances of "(void) splhil()" and "(void) spl0();".
1996-02-14 02:43:54 +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
862bb3adc1 Pass the correct number of arguments to readdisklabel(). 1995-12-09 07:31:03 +00:00
thorpej
52ec09e420 Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.
1995-12-02 18:21:49 +00:00
thorpej
43358aae60 Deal with vendor, product, and revision strings properly. 1995-10-16 08:51:49 +00:00
thorpej
5dcaa0b51c Be a tad bit more informative when the drive is attached. Print geometry
info when appropriate, because, darn it, it's useful.
1995-10-15 10:03:18 +00:00
thorpej
ab16c2efa6 Remove unneeded RCS ids. 1995-10-09 08:07:37 +00:00
mycroft
3126edd708 Arrest the KNF policeman. 1995-06-02 17:51:21 +00:00
hpeyerl
caef1dfaa2 KNF police. 1995-05-24 13:12:12 +00:00
mycroft
e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
mycroft
96d96ccc04 Do not allow opening a device which is not `alive'. 1995-01-18 10:02:43 +00:00
cgd
132b41434c new RCS ID format. 1994-10-26 07:22:45 +00:00
mycroft
0dfc96374d Bug fixes from Mike Hibler. 1994-05-27 17:18:50 +00:00
mycroft
c1e1831b84 Merge with 4.4-Lite. 1994-05-23 05:58:16 +00:00
mycroft
bbc1b37ee0 Get rid of private *read() and *write() functions. 1994-05-11 10:16:11 +00:00
hpeyerl
c19b5f314c SCSI disklabel support complete with Duct Tape (tm). 1994-02-22 07:17:22 +00:00
mycroft
20f96b580e Add arg to ioctl functions. Clean up #includes. 1994-02-10 13:59:25 +00:00
mycroft
9daf893372 Someone should fix his damned tabs after pasting code. 1994-01-25 13:10:21 +00:00
brezak
5aba563da8 Rudimentary disklabel support. 1994-01-25 03:19:15 +00:00
mycroft
d3268a7616 Modified to use disklabels. Needs more work, but this at least boots. 1993-08-07 20:48:38 +00:00
cgd
30177b538f add rcsids to everything and clean up headers 1993-05-22 07:56:12 +00:00
cgd
6dedb5151c add hp300 kernel files. generic kernel files might need some help... 1993-05-13 13:56:20 +00:00