freebsd-skq/sys/dev/ata
Poul-Henning Kamp 0b7ed341e1 Change the disk(9) API in order to make device removal more robust.
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.
2004-02-18 21:36:53 +00:00
..
ata-all.c Be more robust in the probe. We dont want to get into a loop with 2004-01-30 19:16:08 +00:00
ata-all.h Cleanups/cosmetics. 2004-01-29 15:03:01 +00:00
ata-card.c Use UMA instead of plain malloc for getting ATA request storage. 2004-01-14 21:26:35 +00:00
ata-cbus.c Use UMA instead of plain malloc for getting ATA request storage. 2004-01-14 21:26:35 +00:00
ata-chipset.c Fix support for the Promise TX4 on amd64. 2004-02-02 14:05:57 +00:00
ata-commands.h
ata-disk.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
ata-disk.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
ata-dma.c Use UMA instead of plain malloc for getting ATA request storage. 2004-01-14 21:26:35 +00:00
ata-isa.c Use UMA instead of plain malloc for getting ATA request storage. 2004-01-14 21:26:35 +00:00
ata-lowlevel.c Move the enabling of interrupt back to where it was some time ago. 2004-02-02 15:49:01 +00:00
ata-pci.c Use UMA instead of plain malloc for getting ATA request storage. 2004-01-14 21:26:35 +00:00
ata-pci.h Fix support for the Promise TX4 on amd64. 2004-02-02 14:05:57 +00:00
ata-queue.c Dont use the bio_taskqueue if we are in timeout. 2004-02-17 19:24:11 +00:00
ata-raid.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
ata-raid.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
atapi-cam.c (atapi_cb): Reenable automatic retrieve of sense data on error, making 2004-02-11 10:14:08 +00:00
atapi-cd.c Use the biotask functionality in GEOM to put finished requests on 2004-01-28 20:38:51 +00:00
atapi-cd.h GEOM'ify atapi-cd. Original patch by phk, subtle changes by me. 2003-11-01 09:44:33 +00:00
atapi-fd.c Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
atapi-fd.h Change the disk(9) API in order to make device removal more robust. 2004-02-18 21:36:53 +00:00
atapi-tape.c Use the biotask functionality in GEOM to put finished requests on 2004-01-28 20:38:51 +00:00
atapi-tape.h