freebsd-skq/sys/dev/isp
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
..
DriverManual.txt
Hardware.txt
isp_freebsd.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
isp_freebsd.h Fix off-by-two errors. 2007-08-28 00:09:12 +00:00
isp_ioctl.h Remove some ioctls that were ill-thought out. There is no user 2007-06-11 19:15:49 +00:00
isp_library.c Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00
isp_library.h Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_pci.c Pointy hat to me. Committed with building. 2007-06-26 23:08:57 +00:00
isp_sbus.c Add missing locking for SBus controllers. 2007-11-05 11:22:18 +00:00
isp_stds.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.c Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
isp_target.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_tpublic.h Make this an MP safe driver but also still be multi-release. 2007-05-05 20:17:23 +00:00
isp.c Be more conservative- turn off fast posting and RIO for 22XX cards. 2007-07-10 07:55:04 +00:00
ispmbox.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispreg.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispvar.h Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00