From owner-cvs-all Sat Jun 22 18:55:27 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3751937B40B; Sat, 22 Jun 2002 18:55:16 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5N1tG396625; Sat, 22 Jun 2002 18:55:16 -0700 (PDT) (envelope-from imp) Message-Id: <200206230155.g5N1tG396625@freefall.freebsd.org> From: Warner Losh Date: Sat, 22 Jun 2002 18:55:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard i82365.h pccard.c pcic.c pcic_pci.c pcic_pci.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/06/22 18:55:16 PDT Modified files: sys/pccard i82365.h pccard.c pcic.c pcic_pci.c pcic_pci.h Log: What: o ToPIC is happy with two cards now, even when the two cards are modems. o Fix (all?) hangs on boot when power is applied to the card. I suspect that this will make the Ricoh bridges happier and also make a lot of VAIO owners happy (confirm to me in private email please :-). o All Cardbus bridges should now support 3.3V, X.XV and Y.YV cards, to the extent that the underlying hardware supports such cards. (X.X and Y.Y haven't been assigned values yet :-). o Better 3.3V support for Ricoh ISA bridges. How: o Don't mess with the power register when scanning the cards. It is unnecessary and causes BADVcc conditions on many chipsets. These in turn can cause an interrupt storm. o Make pcic_disable reset the slot's voltage. o Move initializing voltage for the slot until after it has been disabled. o Fix a lot of issues with the pcic_cardbus_power routine. We now properly enable the card and take it out of reset after a power change. o When detecting the card's voltage, if we're in a BadVcc state, direct the bridge to rescan the card for what it supports. (we might need to in the future set the power register to 0 before doing this). o Don't preserve CLKSTOP. need to revisit this. o Better support for Ricoh ISA bridges for 3.3V cards. o Don't write to PCIC_POWER directly as offten, but instead go through the pcic_power interface. o All cardbus bridges now default to use cardbus power control. o Add misc register definitions. o remove some (now) bogus comments. Extra Special Thanks To: Scott Lamber for his kind and generous loan of a Toshiba laptop with a ToPIC 100 in it for my use. Revision Changes Path 1.24 +2 -1 src/sys/pccard/i82365.h 1.148 +7 -9 src/sys/pccard/pccard.c 1.173 +77 -15 src/sys/pccard/pcic.c 1.112 +51 -49 src/sys/pccard/pcic_pci.c 1.34 +17 -0 src/sys/pccard/pcic_pci.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message