Commit Graph

24 Commits

Author SHA1 Message Date
jmc 6cf92c7dba Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:23:46 +00:00
christos 3ae161c702 don't put a trailing comma in pcmcia_devinfo. All the drivers use
printf("%s\n", devinfo) and it looks stupid.
2001-04-29 20:10:24 +00:00
drochner 457d8d7c7e print parent device name too, so we know which socket a card was probed at
and whether pcmcia or cardbus
2000-07-28 19:17:02 +00:00
augustss 621323af72 KNF some comments. 2000-05-08 13:51:36 +00:00
uch 16c31080a5 IT8368E legacy mode requires mode change between I/O access and
attribute memory access. XXX
2000-02-26 19:02:22 +00:00
chopps dcfbcbec76 remove bogus debug (was reading unmapped CCR) 2000-02-22 21:29:36 +00:00
enami 1658944ebe - Don't rely on implicit declaration.
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
augustss e2ab50484b Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
nathanw 958e687d69 LP64 printf fixes. 2000-02-05 20:02:42 +00:00
cgd 942a54e0c1 replace the *_lookup table entry match/lookup functions in all of
these drivers with a single common function (which supports tables
of variable-sized structures).  Things are mostly as they were before:
tables are terminated by entry with NULL name, etc.  There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
aymeric 8ac52796d5 add right casts to printf bus_space parameters 2000-01-23 20:44:04 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
marc 1a6e9eab49 add quirk support for cards which lie extensively about their CIS 1998-12-24 04:51:59 +00:00
marc 2636bc951d add code to permit pcmcia intr debugging 1998-12-24 04:50:43 +00:00
thorpej 0c3ca7b31e Finish implementing interrupt-driven card insertion and removal support.
- Deactivate the card on removal and queue a REMOVAL event for the socket's
event thread to finish the detach.
- Queue an INSERTION event for the socket's event thread on insertion.

Implement a few missing infrastructure pieces to support this.

Hot swapping of PCMCIA cards now "works".  (Not quite; things like network
devices need changes for their respestive subsystems.  These changes are
coming soon...)
1998-11-17 08:49:11 +00:00
thorpej 3e6164e173 Make a comment about what pcmcia_detach_card() should do. 1998-11-14 01:54:25 +00:00
eeh a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
thorpej 5bc2217a49 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-09 07:24:55 +00:00
enami 95f9f9f48d In the function pcmcia_card_gettype:
- When there is only one pcmcia function, don't use first config
  entry to determine card type.  Instead, use the config entry
  actually used to initialize the pcmcia function if it is already
  initialized, else a card is memory-type.
- Don't put a space after cast.
- Use SIMPLEQ_FIRST/NEXT macro.
1998-06-05 02:51:17 +00:00
christos 509cb1d75f - remove duplicate setting of CCR
- fix debugging code so that it compiles
- reorder the disabling code so that it is more logical
- add splhigh()/splx() in the first establish setting for symmetry
1998-03-07 17:58:17 +00:00
marc 3a3ac64f4f rewrite mfc intr management not to use unexported spl* functions
add mfc iobase/iosize support
 add power management support
1998-02-01 23:49:02 +00:00
thorpej 1934051221 Update for changes to config. 1998-01-12 09:36:53 +00:00
enami 0afff66463 Include locators.h and use symbolic name comes from it. 1997-10-19 14:04:29 +00:00
thorpej c66b8643d1 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:27:16 +00:00