Home | History | Annotate | Download | only in cardbus
History log of /src/sys/dev/cardbus/rbus.c
RevisionDateAuthorComments
 1.29  27-Jan-2012  para converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.28  15-Dec-2009  snj branches: 1.28.12; 1.28.16;
Move to 2-clause license. Approved by HAYAKAWA Koichi (copyright holder).
 1.27  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.26  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.25  19-Oct-2007  ad branches: 1.25.20; 1.25.28; 1.25.34;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.24  14-Apr-2006  christos branches: 1.24.18; 1.24.32; 1.24.34; 1.24.38;
Coverity CID 2467: Check that we actually initialized addr before returning it.
 1.23  11-Dec-2005  christos branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12;
merge ktrace-lwp.
 1.22  27-Feb-2005  perry branches: 1.22.4;
nuke trailing whitespace
 1.21  04-Feb-2005  perry de-__P
 1.20  16-May-2004  skd branches: 1.20.4; 1.20.6;
fix typo in comment: resister -> register.
 1.19  02-Nov-2003  wiz Fix some typos. From Tom Cosgrove via jmc@openbsd.
 1.18  13-Sep-2003  simonb Remove an unreachable return statement (and fix a whitespace nit).
 1.17  17-May-2003  scw branches: 1.17.2;
Fix some DPRINTF statements to deal with bus_addr_t and bus_size_t types
defined in terms if 'int' instead of 'long'.
 1.16  22-Mar-2003  nakayama PCI-CardBus bridge support for sparc64:
- use u_long for extent_alloc_subregion result instead of bus_addr_t.
(sizeof u_long != sizeof bus_addr_t on 32bit kernels of sparc64)
 1.15  25-Nov-2002  thorpej Avoid strict-alias warnings.
 1.14  22-Apr-2002  matt Let's not free an uninitialized variable.
 1.13  10-Mar-2002  christos Undo my previous change that worked around a problem attaching a 3c562d.
This is handled correctly now in the driver itself. From Hayakawa Koichi
<haya@netbsd.org>, thanks.
 1.12  24-Dec-2001  christos make sure that we adjust the end of the subrange if we adjusted the beginning
of it, but the offset of the card. Fixes 'cannot map i/o space' on 3c562d
 1.11  15-Nov-2001  lukem don't need <sys/types.h> when including <sys/param.h>
 1.10  13-Nov-2001  lukem add RCSID
 1.9  10-Jul-2001  haya Bug fix: call extent_subregion() with alignment = 1 instead of 0.
 1.8  30-May-2000  haya branches: 1.8.4; 1.8.6;
Call extent_alloc_subregion() with EX_MALLOCOK in
rbus.c::rbus_space_alloc_subregion().
 1.7  26-May-2000  haya branches: 1.7.2;
KNFfied those files.
 1.6  08-May-2000  augustss Fix the most glaring bug in the old rbus code. This way your machine won't
panic with a 3c562, but it won't work either.
 1.5  08-May-2000  augustss Back out my rbus change since it seems to break things.
 1.4  08-May-2000  augustss KNF the code and fix three bugs:
* If a non-zero addr was given to rbus_space_alloc_subregion() it would
claim to have allocated region when in fact it just failed.
* If a non-zero addr was given to rbus_space_alloc_subregion() allocation
often (always?) failed when it shouldn't.
* One part of rbus_space_alloc_subregion() used an alignment that always
made the kernel panic.
I'm not sure if my change is correct, because I don't know what this code
is supposed to do. But now I can use a 3c562 card.
 1.3  06-Nov-1999  soren branches: 1.3.2; 1.3.4;
It's okay for a memory region to be larger than it's alignment.
 1.2  15-Oct-1999  haya branches: 1.2.2; 1.2.4;
add NetBSD ID tag.
 1.1  15-Oct-1999  haya 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.2.4.1  15-Nov-1999  fvdl Sync with -current
 1.2.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.3.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.2  06-Nov-1999  soren It's okay for a memory region to be larger than it's alignment.
 1.3.2.1  06-Nov-1999  soren file rbus.c was added on branch comdex-fall-1999 on 1999-11-06 06:20:54 +0000
 1.7.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.8.6.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.6.3  16-Mar-2002  jdolecek Catch up with -current.
 1.8.6.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.6.1  03-Aug-2001  lukem update to -current
 1.8.4.6  11-Dec-2002  thorpej Sync with HEAD.
 1.8.4.5  20-Jun-2002  nathanw Catch up to -current.
 1.8.4.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.8.4.3  08-Jan-2002  nathanw Catch up to -current.
 1.8.4.2  14-Nov-2001  nathanw Catch up to -current.
 1.8.4.1  24-Aug-2001  nathanw Catch up with -current.
 1.17.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.17.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.17.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1  03-Aug-2004  skrll Sync with HEAD
 1.20.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.20.6.1  12-Feb-2005  yamt sync with head.
 1.20.4.1  29-Apr-2005  kent sync with -current
 1.22.4.2  27-Oct-2007  yamt sync with head.
 1.22.4.1  21-Jun-2006  yamt sync with head.
 1.23.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.23.10.1  19-Apr-2006  elad sync with head.
 1.23.8.1  24-May-2006  yamt sync with head.
 1.23.6.1  22-Apr-2006  simonb Sync with head.
 1.23.4.1  09-Sep-2006  rpaulo sync with head
 1.24.38.1  25-Oct-2007  bouyer Sync with HEAD.
 1.24.34.1  06-Nov-2007  matt sync with HEAD
 1.24.32.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.24.18.1  23-Oct-2007  ad Sync with head.
 1.25.34.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.28.1  28-Apr-2009  skrll Sync with HEAD.
 1.25.20.2  11-Mar-2010  yamt sync with head
 1.25.20.1  04-May-2009  yamt sync with head.
 1.28.16.1  18-Feb-2012  mrg merge to -current.
 1.28.12.1  17-Apr-2012  yamt sync with head

RSS XML Feed