History log of /freebsd-9.3-release/sys/dev/exca/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


235743 21-May-2012 jhb

Toss bogus mergeinfo.


235738 21-May-2012 sbruno

MFC r235634

Fix and update battery status bits according to linux driver


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


201450 03-Jan-2010 imp

CardBus instead of cardbus.


189579 09-Mar-2009 imp

__LP64__ is what's defined, not _LP64_, according to the manual (and
also experience).


188220 06-Feb-2009 imp

fix spelling error

Submitted by: trasz


188190 05-Feb-2009 imp

Don't check for mapping above 4GB on 32-bit platforms.


188167 05-Feb-2009 imp

Add some additional debugging for the memory code.


186796 05-Jan-2009 imp

First cut at fixing memory mapping botch. Nobody must use the ray(4)
driver since it couldn't have worked with NEWCARD w/o these fixes.
This should allow selecting 16-bit memory width as well (which was
what was broken).


167832 23-Mar-2007 jhb

- Fix exca_(io|mem)_map() to return proper errno values.
- Change exca_activate_resource() to call BUS_ACTIVATE_RESOURCE() before
calling exca_(io|mem)_map() since the latter use rman_get_bus(tag|handle)
and the recent changes to nexus(4) mean that you need to activate a
resource before reading the bus tag and handle. This was true before,
but now the nexus(4) drivers on x86 and ia64 are more forceful about it.

Reviewed by: imp


166942 24-Feb-2007 imp

exca->pccarddev should always be non-null now. Only call it when the
device is actually attached.


166742 15-Feb-2007 imp

It turns out that it is easier to not NULL out pccard and cardbus
device pointers. They don't change as the children device drivers
come and go. Rather, check to see if the device is attached where we
would have checked ! NULL. This solves many asymmetries in the code
that likely could lead to crashes when loading/unloading cbb without
one or more of the expected children's driver not present.


162591 24-Sep-2006 imp

Cleanup sloppy ifdef.


161240 12-Aug-2006 imp

The TOPIC97 and TOPIC100 seem to have a special register in the exca
space that enables low voltage operation (and maybe other stuff).
Enable the bits in this register so low voltage 16-bit cards may work.

Existance noticed in NetBSD driver.


156503 09-Mar-2006 imp

Don't dereference an uninitialized pointer.


151458 19-Oct-2005 imp

Set the name of the chipset found


151410 17-Oct-2005 imp

Minor commentary correction


151309 14-Oct-2005 imp

MFP4: Minor tweaks.


150460 22-Sep-2005 imp

'PC Card' instead of other variants


140022 11-Jan-2005 imp

Properly calculate the offset in mapping the memory of pccards. This
allows my 3com cards to work again. It appears that this code was
once there, but I removed it when I added the alignment issues.

MFC After: 5 days
PR: 70639 (and likely others)


139749 06-Jan-2005 imp

Start each of the license/copyright comments with /*-, minor shuffle of lines


133793 16-Aug-2004 imp

Didn't intend to commit debugging code enabled


133782 15-Aug-2004 imp

Other part of the cbb isa/pci split. This likely is causing problems
wrt cbb module.


120872 07-Oct-2003 imp

Card type stuff was backwards, so assume io for the moment. mem needs
a lot of help and with luck bms will help me fix that.


120421 24-Sep-2003 imp

CARDMEM is the offset of the address ON THE CARD (eg which page).
Instead, use EXCA_MEMREG_WIN_SHIFT which is the amount we shift the
bus address by to write into upper memory (eg above 24MB). Use the
latter in this case.


119551 29-Aug-2003 imp

When we went to the set_flags interface for the memory resource, we
switched from PCCARD_MEM_FOO to PCCARD_A_MEM_FOO, yet we didn't change
exca in all the right places. Do so now. Also use PCCARD_WIDTH_AUTO
rather than the magic cookie 0.


119520 28-Aug-2003 imp

A number of minor fixes to the mapping of memory. This should help
reading the CIS on some cards. However, not all just yet. This makes
at least some of the xircom cards that weren't working to work. It
doesn't make my home and away card work, however.

o Don't get the card offset wrong. This is the biggest hassle for
reading the CIS. The old code was just so wrong I can't believe that
it worked at all.
o Don't set the bit that allows/forces 16-bit memory access to the
memory. It is hard coded with 0x80.
o Don't need to slow down memory access with wait-states. OLDCARD didn't
need them and it doesn't hurt anything.
o remove bogus grousying in comment.


119511 27-Aug-2003 imp

Fix location of $FreeBSD$ from last commit.


119418 24-Aug-2003 obrien

Use __FBSDID().
Also some minor style cleanups.


115988 07-Jun-2003 imp

MFP4:
Merge some common code from cbb into exca.


115887 06-Jun-2003 imp

Add two of three workarounds for interrupt storms for o2micro parts as
obtained from o2micro. These should only be needed for 'older'
o2micro bridges (anything before the 7xxx series of bridges), but will
work with the new bridges.

# I don't plan on porting it to oldcard, but will happily commit to
# oldcard if someone else needs them.


115461 31-May-2003 phk

Don't use return(foo(...)); in function returning void.

Found by: FlexeLint


110841 14-Feb-2003 imp

Massive overhaul of exca to help with the isa efforts:
o chip_name arrays ifdef'd out.
o use the OLDCARD-like get/put functions so we can support differnt types
of mappings.
o Write the beggings of is this a valid exca device and introduce more
chipset support.

# this is partially a wip, but also needed because some other cahnges I've
# made require some of these changes.


108064 18-Dec-2002 semenu

Do not return(foo()) in void function.

Submitted by: marius@alchemy.franken.de
MFC after: 3 days


104601 07-Oct-2002 imp

Update comments to remind me about power bugs in oldcard.


100703 26-Jul-2002 imp

MFp4:
o Protect .h against multiple includes.
o eliminate the pointers to the read/write routines. The
bus_space_read routines can cope since we have the offset
field.
o Print a warning if the requested map address is > 16M and
your chipset doesn't support the extended ExCA registers.


97708 01-Jun-2002 alfred

Fix a couple of places where preprocessor concatination was misused and
something wound up grafted to a comma.


97613 30-May-2002 takawata

Make oldcard and newcard kernel module work.


90187 04-Feb-2002 imp

Default debugging to OFF now.


89948 29-Jan-2002 imp

First draft of common code between pccbb and pcic drivers for talking
to ExCA register sets. These registers exist in both ISA and PCI
devices in a couple different ways, and this will provide a common
base for future building. This code is a rehash of the pccbb 16-bit
code, which was a rehash of the pcic code, which was a rehash of the
netbsd i82365 code. More hashing to come.