freebsd-skq/sys/dev/ata
ed 4efdef565f Replace all calls to minor() with dev2unit().
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
2008-09-27 08:51:18 +00:00
..
ata_if.m Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-all.c Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. 2008-08-15 10:55:11 +00:00
ata-all.h Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. 2008-08-15 10:55:11 +00:00
ata-card.c Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-cbus.c Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-chipset.c Add support for the ITE 8213 controller. 2008-09-26 07:29:48 +00:00
ata-disk.c Fix panic and breakage for non-DMA ATA devices e.g. powermac macio cells. 2008-05-08 17:55:44 +00:00
ata-disk.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-dma.c Fix the breakage that caused AHCI devices to vanish. Editor droppings :( 2008-04-18 15:15:04 +00:00
ata-isa.c Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-lowlevel.c Fix panic and breakage for non-DMA ATA devices e.g. powermac macio cells. 2008-05-08 17:55:44 +00:00
ata-pci.c Cleanup the AHCI code a bit. 2008-09-18 12:12:34 +00:00
ata-pci.h Add support for the ITE 8213 controller. 2008-09-26 07:29:48 +00:00
ata-queue.c Unload DMA slot on device timeouts. 2008-04-21 10:35:19 +00:00
ata-raid.c Go back to preallocating everything possible on init. 2008-04-17 12:29:35 +00:00
ata-raid.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-usb.c Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
atapi-cam.c Go back to preallocating everything possible on init. 2008-04-17 12:29:35 +00:00
atapi-cd.c Fix panic and breakage for non-DMA ATA devices e.g. powermac macio cells. 2008-05-08 17:55:44 +00:00
atapi-cd.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
atapi-fd.c Fix panic and breakage for non-DMA ATA devices e.g. powermac macio cells. 2008-05-08 17:55:44 +00:00
atapi-fd.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
atapi-tape.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
atapi-tape.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00