Home | History | Annotate | Download | only in pcmcia
History log of /src/sys/dev/pcmcia/pcmciachip.h
RevisionDateAuthorComments
 1.17  26-Jul-2011  dyoung Don't copy iobase and iosize members from pcmciabus_attach_args to the
pcmcia_softc because they're not used in any meaningful way.
 1.16  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.15  26-Jun-2008  drochner branches: 1.15.10;
constify the pcmcia/cardbus method tables
 1.14  19-Oct-2007  ad branches: 1.14.16; 1.14.20; 1.14.22; 1.14.24;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.13  11-Dec-2005  christos branches: 1.13.30; 1.13.44; 1.13.46; 1.13.50;
merge ktrace-lwp.
 1.12  30-May-2005  christos branches: 1.12.2;
- add const
- avoid variable shadow
- do proper UNCONST with XXXUNCONST
 1.11  27-Feb-2005  perry nuke trailing whitespace
 1.10  04-Feb-2005  perry de-__P
 1.9  13-Sep-2004  drochner branches: 1.9.4; 1.9.6;
a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
on "locators.h"
 1.8  11-Aug-2004  mycroft 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!
 1.7  20-Jun-2004  thorpej Define and use pcmciabuscf_controller as an alias for
cf_loc[PCMCIABUSCF_CONTROLLER] and pcmciabuscf_socket
as an alias for cf_loc[PCMCIABUSCF_SOCKET].
 1.6  15-Dec-2001  soren branches: 1.6.16;
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
 1.5  13-Jan-2000  joda branches: 1.5.6; 1.5.8;
add flags for memory width
 1.4  15-Oct-1999  haya branches: 1.4.2;
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
 1.3  17-Nov-1998  thorpej branches: 1.3.10;
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...)
 1.2  16-Oct-1997  thorpej Pull marc-pcmcia branch down from trunk.
 1.1  30-Jul-1997  marc branches: 1.1.2;
file pcmciachip.h was initially added on branch marc-pcmcia.
 1.1.2.12  16-Oct-1997  thorpej Copyright/license update.
 1.1.2.11  16-Oct-1997  thorpej Pass down the start and side of the i/o space allocation range to
the "pcmcia" layer so that drivers with Very Special i/o space allocation
needs can know what range they should be dealing with.
 1.1.2.10  16-Oct-1997  enami Define new macro constant PCMCIA_WIDTH_AUTO to indicate auto size
I/O window.
 1.1.2.9  14-Oct-1997  thorpej KNF, RCS IDs.
 1.1.2.8  14-Oct-1997  thorpej Allow the i/o address alignment to be specified in the call to
pcmcia_io_alloc(). If the caller does not care about the alignment, 0
should be passed.
 1.1.2.7  27-Sep-1997  marc add a card_gettype function to the chip->pcmcia interface, and remove
the variable from the card_attach function
 1.1.2.6  23-Aug-1997  thorpej Define chipset-level socket enable/disable entry points.
 1.1.2.5  11-Aug-1997  thorpej Pass the PCMCIA function structure rather than an IRQ mask to the
interrupt establish function.
 1.1.2.4  10-Aug-1997  thorpej Create a structure to encapsulate information about allocated i/o and
mem space on the pcmcia bus. Use this in chip-level window enable
functions rather than making assumptions about the bus space handles.

Also, clean up lots of debugging prints. Use patchables to enable them.
 1.1.2.3  31-Jul-1997  thorpej Pay attention to the "valid IRQ mask" in a device's CIS information.
This adds an additional "irqmask" argument to the chip-level "intr_establish"
functions.
 1.1.2.2  30-Jul-1997  marc add the pcmcia device dir.
 1.1.2.1  30-Jul-1997  marc added pcmcia infrastructure and a few devices
 1.3.10.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.6.1  08-Jan-2002  nathanw Catch up to -current.
 1.6.16.7  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.16.6  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.16.5  04-Feb-2005  skrll Sync with HEAD.
 1.6.16.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.16.3  18-Sep-2004  skrll Sync with HEAD.
 1.6.16.2  12-Aug-2004  skrll Sync with HEAD.
 1.6.16.1  03-Aug-2004  skrll Sync with HEAD
 1.9.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.6.1  12-Feb-2005  yamt sync with head.
 1.9.4.1  29-Apr-2005  kent sync with -current
 1.12.2.1  27-Oct-2007  yamt sync with head.
 1.13.50.1  25-Oct-2007  bouyer Sync with HEAD.
 1.13.46.1  06-Nov-2007  matt sync with HEAD
 1.13.44.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.13.30.1  23-Oct-2007  ad Sync with head.
 1.14.24.1  27-Jun-2008  simonb Sync with head.
 1.14.22.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.20.2  16-May-2009  yamt sync with head
 1.14.20.1  04-May-2009  yamt sync with head.
 1.14.16.1  29-Jun-2008  mjf Sync with HEAD.
 1.15.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

RSS XML Feed