Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 08/11/2004 00:18:20
Module Name:	src
Committed By:	mycroft
Date:		Wed Aug 11 00:18:20 UTC 2004

Modified Files:
	src/sys/dev/ic: i82365.c i82365var.h
	src/sys/dev/isa: i82365_isa.c
	src/sys/dev/pci: i82365_pci.c pccbb.c
	src/sys/dev/pcmcia: pcmcia.c pcmciachip.h pcmciavar.h

Log Message:
Rather than having a call up from the low-level driver to get the card type,
instead have a call down from the PCMCIA mid-layer to set it.  Use this from
pcmcia_function_enable().  (Currently the policy is the same, but this would
allow for more flexibility in deciding which mode to use.)

Now it is safe to hold the socket enabled during attach, so do that.  Only
one enable/disable cycle to attach a card now!


To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 src/sys/dev/ic/i82365.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/ic/i82365var.h
cvs rdiff -r1.20 -r1.21 src/sys/dev/isa/i82365_isa.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/pci/i82365_pci.c
cvs rdiff -r1.100 -r1.101 src/sys/dev/pci/pccbb.c
cvs rdiff -r1.59 -r1.60 src/sys/dev/pcmcia/pcmcia.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/pcmcia/pcmciachip.h
cvs rdiff -r1.24 -r1.25 src/sys/dev/pcmcia/pcmciavar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.