freebsd-skq/sys
Warner Losh 08db6b5c8e It turns out that Intel's i82365sl-DF step has the same ID as the VLSI
82C146.  The Intel i82365SL-DF supports 3.3V cards.  The Step A/B/C
parts do not appear to support this.  This is hard to know for sure
since it was deduced from "compatible" parts' data sheets and the
article mentioned below.

Rework the VLSI detection to be a little nicer and not depend on
scanning cards twice.  This would allow bad VLSI cards to coexist with
a good intel card, for example.  We now detect i82365SL-DF cards where
before we'd detect a VLSI.  For the most part, this is good, but we
run a small chance of detecting a single slot 82C146 as a i82365SL-DF.
Since I can't find a datasheet for the 82c146, I don't know if this is
a problem or not.

This work is based on an excellent article, in Japanese, by NAKAGAWA,
Yoshihisa-san that appeared in FreeBSD Press Number 4.  He provided a
patch against PAO3 in his article.  Since the pcic.c code has changed
some since then, I've gone ahead and cleaned up his patch somewhat and
changed how the code detects the buggy '146 cards.

I also removed the comment asking if there were other cards that
matched the 82C146 since we found one and additional information isn't
necessary.
2001-05-19 04:53:20 +00:00
..
alpha Style changes -- revert ordering to mostly two revs ago. 2001-05-18 01:40:40 +00:00
amd64 Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
arm/include Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
boot Allocate more memory if necessary. 2001-05-17 04:34:02 +00:00
cam Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
coda Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
compat Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
compile
conf Separate out isa attachment to its own file. The pci attachment will 2001-05-16 07:32:04 +00:00
contrib/dev Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
crypto
ddb Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
dev Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
fs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
i4b pseudo-device -> device in kernel config. 2001-05-01 11:26:14 +00:00
i386 Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
ia64 Style changes -- revert ordering to mostly two revs ago. 2001-05-18 01:40:40 +00:00
isa Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
isofs/cd9660 Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
kern remove my private assertions from tsleep. 2001-05-19 01:40:48 +00:00
libkern Add function prototypes and base module for kernel side iconv library. 2001-04-09 09:39:29 +00:00
miscfs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
modules Backed out rev.1.8. Rev.1.8 was just to support a bogus unused include 2001-05-17 11:54:30 +00:00
msdosfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
net Add a couple more codes for upcoming raylink driver additions. 2001-05-17 21:37:41 +00:00
netatalk
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Remove unneeded includes in the i386 case. 2001-05-15 23:16:18 +00:00
netinet In in_ifadown(), differentiate between whether the interface goes 2001-05-11 14:37:34 +00:00
netinet6 Fix typo in previous commit. 2001-04-20 08:43:20 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Include sys/lock.h and sys/mutex.h so that this compiles. 2001-05-15 22:02:46 +00:00
netns
netsmb Back out scanning file descriptors with holding a process lock. 2001-05-15 10:19:57 +00:00
nfs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
nfsclient Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
nfsserver Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
ntfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
nwfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
pc98 Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
pccard It turns out that Intel's i82365sl-DF step has the same ID as the VLSI 2001-05-19 04:53:20 +00:00
pci Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
posix4 o First step in cleaning up authorization code for the posix4 2001-05-06 16:15:42 +00:00
powerpc Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4
sys Regen syscalls that were made mpsafe via vm_mtx 2001-05-19 01:37:12 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
vm Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
Makefile