freebsd-skq/sys/dev/amr
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
..
amr_cam.c Rewrite the DMA code paths from being an impenitrable maze of special cases 2007-12-12 05:55:03 +00:00
amr_disk.c Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4). 2006-10-31 21:19:25 +00:00
amr_linux.c Make amr_linux work as a module by avoiding calling amr_linux_ioctl_int 2006-05-03 16:45:15 +00:00
amr_pci.c Rewrite the DMA code paths from being an impenitrable maze of special cases 2007-12-12 05:55:03 +00:00
amr_tables.h
amr.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
amrio.h Mega update to the LSI MegaRAID driver: 2005-12-14 03:26:49 +00:00
amrreg.h Remove an errant definition for AMR_CONFIG_ENQ3_SOLICITED NOTIFY that was 2008-02-06 14:26:31 +00:00
amrvar.h Many improvements that have been collected over time: 2008-01-24 07:26:53 +00:00