Age | Commit message (Collapse) | Author |
|
|
|
|
|
1.36. Checking wdp_config for WD_CFG_FIXED is incorrect. Default
to ESDI/IDE if WD_CAP_LBA is set in wdp_capabilities instead. Also,
set d_typename for non-IDE/ESDI to "ST506/MFM/RLL" not "ST506/MFM/RLL
di" (the latter caused by truncation to 16 characters).
|
|
|
|
implement an ioctl to get a spoofed label even for disks that have
a label on them.
|
|
|
|
|
|
For LBA-capable drives, return the number of LBA sectors as secperunit, not
the number you get from CHS.
Note, DOS partition tables are limited to 8.4GB. The interactive
disklabel editor will notice that the OpenBSD partition ends at 8.4GB and
limit the user to that size unless the user explicitly specifies the bounds.
This should probably be changed.
|
|
Fix some bugs in getting drive parameters into the wdparams array
|
|
(see bug list in wdc.c change log)
|
|
|
|
|
|
|
|
|
|
reference for making transferral of meta-information possible from
readdisklabel to bounds_check_with_label. The first (and maybe only)
thing that will use this is the multi-disklabel-format code on the
alpha where the labelsector is passed via cpu_disklabel so the label
write-protection can work correctly no matter what label was found.
Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel
implementations that contain it. This too is for multi-disklabel
architectures where the "bad" field can be inside a union. Use this
macro as a means for a driver to check if an architecture supports
dkbad constructs.
Remove proto of bounds_check_with_label from all MD disklabel.h as it
is in sys/disklabel.h.
I have not been able to test the changes everywhere, if I break anything
I apologize, and promise to fix it as soon as I become aware of it.
|
|
|
|
This ought to be done differently, but for now this will suffice.
|
|
|
|
|
|
nits.
|
|
|
|
possibly taken in small steps
|
|
|
|
|
|
|
|
everything: added RCS ids.
|
|
Based on Manuel Bouyer's drivers.
|
|
|
|
|
|
|
|
(original PCMCIA framework by Stefan Grefen [grefen@convex.com]).
|
|
|
|
|
|
|
|
speaker upgraded to the current.
some changes to the VM stuff (ie kern_thread.c added and so).
|
|
the device interrupt chain structures (isa, pci)
Move interrupt chain structure definition to <machine/psl.h> so vmstat can
get at it (i386)
Remove hack to count interrupts the old way (i386)
|
|
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.
|
|
|
|
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
|
|
ultra14f does not bounce properly yet.
|
|
|