1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/dev/isp
Ed Schouten 6bfa9a2d66 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
isp_target.c Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
isp_target.h
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
ispreg.h
ispvar.h Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00