freebsd-skq/sys
Warner Losh fda5b6124b Add code to cope more with strange conditions after careful study of
the standard.

1) When the bridge tells us that we have a card that isn't recognized, we
   use the force register to force the CV_TEST to run.  This test causes the
   bridge to re-evaluate the card.  Once this re-evaluation process happens,
   we get a new interrupt that may say it is ready to process.  We try this up
   to 20 times.  Tests have shown that this appears to correctly reset the
   'Unknown card type' problem that I saw on my Sony PCG-505TS.
2) Take a page from OLDCARD and always read the CSC register in the ISR.
   Some TI (and it seems maybe Ricoh) chipsets require this to behave
   properly.  This work around appears to work due to some power management
   protocols that were improperly implemented.  Maybe it can be removed when
   this driver supports the full PME# protocol described in the standards.
3) Minor additional debug printf when debugging is enabled.
4) Minor additional commentary for things that are obvious only after study.

# I'm committing this from my Sony PCG-505TS using shared PCI interrupts
# and NEWCARD, but there are some issues with the Ricoh bridge still, but
# at least now I can boot with the card inserted and have it work.
2003-08-09 21:05:54 +00:00
..
alpha MFI386: Acquire the page queues lock in pmap_insert_entry(), from 2003-08-07 18:35:16 +00:00
amd64 MFi386 1.422 & 1.423: lock page queues in pmap_insert_entry(). 2003-08-08 01:52:03 +00:00
arm Style sync. 2003-08-03 07:50:19 +00:00
boot Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
cam Remove all USB quirks that only specify DA_Q_NO_6_BYTE. They are no longer 2003-08-06 17:30:03 +00:00
coda Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
compat Remove dangling extern reference to swap_pager_full 2003-08-06 18:40:49 +00:00
conf Fix logic in Makefile.i386,v 1.249: only back up ${DESTDIR}${KODIR} 2003-08-07 19:12:06 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r118624, 2003-08-07 18:19:12 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Update the 'ps', 'show pci', and 'show ktr' ddb commands to use the new 2003-07-31 17:29:42 +00:00
dev Add code to cope more with strange conditions after careful study of 2003-08-09 21:05:54 +00:00
fs Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
geom Kick Giant compatibility one layer up. 2003-08-02 10:11:58 +00:00
gnu Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
i4b Undo agressive inlining which GCC previously wisely ignored. 2003-07-23 17:58:41 +00:00
i386 Remove trailing newlines (from the right branch this time) 2003-08-07 04:33:47 +00:00
ia64 MFi386 1.422 & 1.423: lock page queues in pmap_insert_entry(). 2003-08-08 00:30:26 +00:00
isa Dont initialize a TSC timecounter until we know if it is broken or not. 2003-08-06 15:05:27 +00:00
isofs/cd9660 Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
kern Background: When proc_rwmem() wired and mapped a page, it also added 2003-08-09 18:01:19 +00:00
libkern Backed out the micro-optimization in 1.4. It was to help gcc-2.6.3 2003-07-25 15:54:23 +00:00
modules When compiling the module with INVARIANTS we also need INVARIANT_SUPPORT. 2003-08-06 16:01:32 +00:00
net Also ifdef the variable which becomes unused w/o INET6, fixing the build 2003-08-09 05:44:00 +00:00
net80211 add monitor mode 2003-07-21 02:49:42 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Process events from the ATM drivers. Carrier change and PVC change 2003-07-29 16:27:23 +00:00
netinet New PIM header files. 2003-08-07 18:17:43 +00:00
netinet6 introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to 2003-08-05 14:57:11 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Reserve space for the trailing null byte in the srvname member of 2003-07-27 11:36:00 +00:00
nfs
nfsclient 0) preallocate per-interface context structures without the ifnet lock held 2003-08-07 21:27:17 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 MFi386: revision 1.201. 2003-08-08 12:45:42 +00:00
pccard Add comment point o2micro people to NEWCARD 2003-08-01 16:10:48 +00:00
pci Add preliminary support for the RealTek 8169 gigE chip. Changes: 2003-08-07 07:00:30 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc - Since td_critnest is now initialized in MI code, it doesn't have to be 2003-08-04 20:32:45 +00:00
rpc
security Attempt to simplify #ifdef logic for MAC_ALWAYS_LABEL_MBUF. 2003-08-01 15:45:14 +00:00
sparc64 - Since td_critnest is now initialized in MI code, it doesn't have to be 2003-08-04 20:32:45 +00:00
sys Add the POSIX 1003.1-2001 posix_madvise() interface. 2003-08-09 03:23:24 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
vm Make the first two pages magic to protect the BSD labels rather than 2003-08-06 14:13:38 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00