Home | History | Annotate | Download | only in pcmcia
History log of /src/sys/dev/pcmcia/if_mbe_pcmcia.c
RevisionDateAuthorComments
 1.47  07-Jul-2016  msaitoh KNF. Remove extra spaces. No functional change.
 1.46  12-May-2009  cegger branches: 1.46.22; 1.46.40;
struct device * -> device_t, no functional changes intended.
 1.45  28-Apr-2008  martin branches: 1.45.14;
Remove clause 3 and 4 from TNF licenses
 1.44  12-Apr-2008  tsutsui branches: 1.44.2; 1.44.4;
Split device_t/softc for MI mb86960, with misc cosmetics.
 1.43  05-Apr-2008  cegger use aprint_*_dev and device_xname
 1.42  19-Oct-2007  ad branches: 1.42.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.41  16-Nov-2006  christos branches: 1.41.8; 1.41.22; 1.41.24; 1.41.28;
__unused removal on arguments; approved by core.
 1.40  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.39  30-Aug-2006  christos branches: 1.39.2; 1.39.4;
add missing initializers
 1.38  11-Dec-2005  christos branches: 1.38.4; 1.38.8;
merge ktrace-lwp.
 1.37  27-Feb-2005  perry branches: 1.37.4;
nuke trailing whitespace
 1.36  04-Feb-2005  perry de-__P
 1.35  11-Aug-2004  mycroft branches: 1.35.4; 1.35.6;
Do the read of the MAC address before enabling the function the first time,
so we're still in memory mode.
 1.34  10-Aug-2004  mycroft Update to the new world order.
 1.33  10-Aug-2004  mycroft Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.
 1.32  10-Aug-2004  mycroft Enhance pcmcia_product_lookup():
* Remove the "expected function" value. This was just causing problems with
multifunction cards. Differentiating the functions is better done by
checking the function type (which we now do in ep and sm).
* Add support for matching CIS strings. This necessitated changing the calling
pattern a little too.

Use this enhanced version rather than driver-specific versions that do the
same thing.

Also, remove the last vestiges of PCMCIA_STR_*.
 1.31  08-Aug-2004  mycroft Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular
case (ne@pcmcia) where we were using these to create a subregion, it is better
handled by calling bus_space_subregion().

Now there is a 1:1 mapping between I/O spaces in the config table and windows
mapped in the function. Rework the multifunction mapping code to take
advantage of this by using both I/O base addresses if necessary.
 1.30  30-Nov-2002  tsutsui branches: 1.30.6;
More cleanup of MI mb86960 driver:
- Add support for byte system bus mode. Based on patch in kern/17193 by
Christian Groessler, with some improvements by me.
- Rename sc_flags in mb86960_softc to sc_stat, rename "type" to sc_flags
to specify controller quirks and remove enum mb86960_type.
- Pass controller type via new sc_flags in mb86960_softc rather than
via an mb86960_attach() arg.
- Handle unaligned mbufs properly in mb86960_write_mbufs(). (from ne2000.c)
- Fix a signed/unsigned comparision warning.
- Add definitions of status bits in the RX packed header.
- Change types of some members in mb86960_softc.
 1.29  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.28  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.27  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.26  01-Jun-2002  lukem SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
 1.25  23-Dec-2001  ichiro branches: 1.25.8;
support FUJITSU MB86960/5 based ethernet cards
FMV-J181,182,182A
 1.24  18-Dec-2001  ichiro change routine of device search.
mbe_pcmcia_lookup() is introduced
 1.23  16-Dec-2001  ichiro support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
 1.22  15-Dec-2001  soren 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.21  13-Nov-2001  lukem add RCSIDs
 1.20  15-May-2000  enami branches: 1.20.6; 1.20.8;
Free memory when failed to map it.
 1.19  15-May-2000  enami Cosmetic changes.
 1.18  11-May-2000  is RATOC REX-R280 (another if_mbe_pcmcia card) support by UCHIYAMA Yasushi.
Originally part of pr 6789, reworked by the submitter to fit into -current.
 1.17  04-Feb-2000  enami Actually, no need to keep track of sc_ih.
 1.16  04-Feb-2000  enami Disestablish an interrupt if failed to enable the card.
 1.15  04-Feb-2000  enami Remove no longer necessary old code.
 1.14  04-Feb-2000  enami Release the resource on attach failure.
 1.13  04-Feb-2000  cgd 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.
 1.12  02-Feb-2000  enami Add detach support.
 1.11  29-Nov-1999  jun Support for TDK LAC-CF010
by Ichiro Fukuhara (ichiro@ichiro.org) on kern/8900
ichiro test TDK CF Card on Opensource matsuri,tokyo and send patch to us.
thanx.
 1.10  18-Nov-1999  enami Cope with new return value of pcmcia_scan_cis(). (Actually, it's not
so new but at least newer when I wrote these code).
 1.9  27-Oct-1999  is Yet another Fujitsu Ethernet card.
Contributed by HEO SeonMeyong in PR 8658.
 1.8  24-Aug-1999  tron branches: 1.8.2; 1.8.4; 1.8.6;
Add Allied Telesis LA-PCM (NE2000 compatible) and Contec C-NET(PC)C
(MB8696x based) pcmcia ethernet cards. Patches supplied by
Kawamoto Yosihisa in PR kern/8260 and kern/8261.
 1.7  27-Apr-1999  thorpej Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524, Stephen Ma.
 1.6  18-Nov-1998  thorpej branches: 1.6.4;
Now that the *_activate() functions don't do things which are attachment
specific, move them into the chipset drivers.
 1.5  18-Nov-1998  thorpej Move the i/o window unmap and i/o space free into *_detach().
 1.4  17-Nov-1998  thorpej Add detach and activate entry points. Mostly functional except for
#ifdef notyet'd if_delref() and if_detach(), which will be fixed up
when that code is committed.
 1.3  19-Jul-1998  christos Add a devlist2h.awk so that we don't sprinkle the same constants over
each device driver file and use it.
 1.2  09-Jun-1998  thorpej Nuke __BROKEN_INDIRECT_CONFIG.
 1.1  22-Mar-1998  enami PCMCIA bus attachment for MB8696x based Ethernet card.
 1.6.4.1  27-Apr-1999  perry branches: 1.6.4.1.2;
pullup 1.6->1.7 (thorpej): Add Fujitsu LA501 (PR6524, Stephen Ma)
 1.6.4.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.8.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.4.1  15-Nov-1999  fvdl Sync with -current
 1.8.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.20.8.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.20.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.20.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.20.6.5  11-Dec-2002  thorpej Sync with HEAD.
 1.20.6.4  18-Oct-2002  nathanw Catch up to -current.
 1.20.6.3  20-Jun-2002  nathanw Catch up to -current.
 1.20.6.2  08-Jan-2002  nathanw Catch up to -current.
 1.20.6.1  14-Nov-2001  nathanw Catch up to -current.
 1.25.8.1  20-Jun-2002  gehenna catch up with -current.
 1.30.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.30.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.30.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.30.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.30.6.1  12-Aug-2004  skrll Sync with HEAD.
 1.35.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.35.6.1  12-Feb-2005  yamt sync with head.
 1.35.4.1  29-Apr-2005  kent sync with -current
 1.37.4.2  27-Oct-2007  yamt sync with head.
 1.37.4.1  30-Dec-2006  yamt sync with head.
 1.38.8.1  03-Sep-2006  yamt sync with head.
 1.38.4.1  09-Sep-2006  rpaulo sync with head
 1.39.4.2  10-Dec-2006  yamt sync with head.
 1.39.4.1  22-Oct-2006  yamt sync with head
 1.39.2.1  18-Nov-2006  ad Sync with head.
 1.41.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.41.24.1  06-Nov-2007  matt sync with HEAD
 1.41.22.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.41.8.1  23-Oct-2007  ad Sync with head.
 1.42.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.44.4.2  16-May-2009  yamt sync with head
 1.44.4.1  16-May-2008  yamt sync with head.
 1.44.2.1  18-May-2008  yamt sync with head.
 1.45.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.46.40.1  09-Jul-2016  skrll Sync with HEAD
 1.46.22.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed