summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/xy.c
AgeCommit message (Collapse)Author
1996-05-03sync with 0430.Michael Shalayeff
1996-03-04Fix two bugs reported by Don Koch <aardvark@poirot.krl.com>(NetBSD PR#216{8,9})chuck
[1] check return value from malloc() for NULL before trying to bzero it. [2] use "=" rather than "|=" when writing to CSR (otherwise you may ACK something you don't mean to!).
1996-02-21sync with sparc:chuck
minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.c
1996-01-13sync with sparc:chuck
- move disk_attach() to before reading the disk label as per Jason. otherwise we are reading into an unallocated buffer (oops!)
1996-01-12from netbsd;Theo de Raadt
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.
1995-11-01xy and xd drivers from chuckTheo de Raadt