The NetBSD Project

CVS log for src/sys/dev/cardbus/cardbusvar.h

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / cardbus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:29 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.55: +1 -5 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:10 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.55: +1 -5 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

merge to -current.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Feb 18 00:36:57 2012 UTC (3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.55: +1 -5 lines
Diff to previous 1.55 (colored)

Remove uneeded and unused structure.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 1 11:20:27 2011 UTC (9 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.54: +4 -13 lines
Diff to previous 1.54 (colored)

remove some bloat:
-cardbus doesn't use multiple interrupt lines like PCI, and it doesn't
 use machanisms like interrupt line register and swizzling -- no need
 to carry around dummy information, this is all dealt with by the
 bridge
 (I'm asking myself how "rbus_ppb" can work -- a bridge attached to
 cardbus just can't work like a normal PCI bridge as far as interrupts
 are concerned. I thing that should be a hardware specific driver
 because behavior is not covered by a standard.)
-cardbus always uses 3.3V -- no need for a variable to keep track
 of the voltage

Revision 1.38.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:19 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.10.2: +1 -8 lines
Diff to previous 1.38.10.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:19 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51: +1 -8 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:09 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.44: +27 -74 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 15 19:50:50 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored)

Delete unused member ct_bar[] from struct cardbus_devfunc.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Mar 15 19:48:31 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.52: +1 -4 lines
Diff to previous 1.52 (colored)

Delete unused functions cardbus_save_bar() and cardbus_restore_bar().

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 15 19:43:17 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.51: +1 -4 lines
Diff to previous 1.51 (colored)

Delete unused members ct_rbus_iot and ct_rbus_memt from struct
cardbus_devfunc.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:25 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38.10.1: +28 -74 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 4 22:37:38 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.50: +1 -35 lines
Diff to previous 1.50 (colored)

Get rid of the #if 1 surrounding #include <dev/cardbus/rbus.h>.

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

ath, atw, and rtw work fine after this change.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 26 01:16:09 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Cosmetic: re-wrap some line.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Feb 26 01:15:08 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.48: +2 -3 lines
Diff to previous 1.48 (colored)

Cosmetic: join a line.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Feb 26 01:12:56 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.47: +5 -1 lines
Diff to previous 1.47 (colored)

Introduce Cardbus_intr_establish(cardbus_devfunc_t, ...) and
Cardbus_intr_disestablish(cardbus_devfunc_t, ...) and start using them.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 25 00:47:39 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.46: +2 -8 lines
Diff to previous 1.46 (colored)

Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Feb 24 23:38:40 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.45: +29 -29 lines
Diff to previous 1.45 (colored)

Start to tuck Cardbus under the PCI abstraction.  Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t are
interchangeable, so just use pcitag_t.  Ditto pcireg_t and cardbusreg_t.

Poison new uses of cardbusreg_t and cardbustag_t by deleting the type
definitions.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 23 19:28:00 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored)

Remove unused functions pci_disable_retry() and cardbus_disable_retry().

Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 15 22:17:12 2009 UTC (2 years, 5 months ago) by snj
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.43: +1 -7 lines
Diff to previous 1.43 (colored)

Move to 2-clause license.  Approved by HAYAKAWA Koichi (copyright holder).

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:35 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.38: +10 -13 lines
Diff to previous 1.38 (colored)

sync with head.

Revision 1.38.12.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:02 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38.12.1: +9 -12 lines
Diff to previous 1.38.12.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:05 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.38: +10 -13 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.38.14.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:20 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.38.14.1: +9 -12 lines
Diff to previous 1.38.14.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 26 12:33:17 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

constify the pcmcia/cardbus method tables

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 25 11:42:32 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

split device/softc for pccbb, the cardbus half of cardslot and cardbus
(not yet pcmcia, there is a lot of md code involved)

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 24 19:44:52 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.40: +6 -8 lines
Diff to previous 1.40 (colored)

clean up the cardbus interrupt stuff:
There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed
for the same variable, and that variable is pretty much useless because
cardbus doesn't follow the PCI interrupt swizzling etc scheme.
Useless interrupt numbers were printed on cardbus device attach.
So as a first step to sanity, kill cardbus_intr_handle_t and poison
cardbus_intr_line_t to discourage printing it as a %d.
Use cardbus_intr_line_t consistently throughout the code.
Remove the "interrupting at foo" messages because the information
is misleading. We could come up with a better interrupt vector
information, but because cardbus interrupts are mediated by pccbb
it would still be misleading.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jun 24 17:32:09 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

clean up some useless code and variables in cardbus attachment

Revision 1.38.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:01 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.38.14.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:04 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Sync with head.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:33 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 11 06:28:18 2008 UTC (3 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Use device_t.

Revision 1.35.52.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:36 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35.52.2: +7 -5 lines
Diff to previous 1.35.52.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:39 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.2.2: +20 -7 lines
Diff to previous 1.33.2.2 (colored) next main 1.34 (colored)

sync with head

Revision 1.35.46.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:28 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.35: +40 -12 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with HEAD

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:59 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.37: +7 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 2 23:11:34 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.37: +7 -5 lines
Diff to previous 1.37 (colored)

Introduce a struct cardbus_chipset_tag, and make cardbus_chipset_tag_t
a pointer to that struct, so that we cannot assign pointers of
arbitrary type to cardbus_chipset_tag_t.  Tweak cbb(4) to accomodate
this change.

Make Cardbus_conf_read() and Carbus_conf_write() pass the right
arguments to cardbus_functions->cardbus_conf_{read,write}() for a
change.

Let's hope this stops the crash in cardbus_function_enable() that
macallan@ reported to me.

Revision 1.35.52.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:58 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35.52.1: +14 -3 lines
Diff to previous 1.35.52.1 (colored) to branchpoint 1.35 (colored)

Sync with HEAD.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:05 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.36: +14 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with head.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:25:32 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.36: +14 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:55 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.36: +14 -3 lines
Diff to previous 1.36 (colored)

Merge jmcneill-pm branch.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:41 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.2.1: +21 -6 lines
Diff to previous 1.33.2.1 (colored)

sync with head

Revision 1.35.44.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:54:25 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35.44.3: +21 -6 lines
Diff to previous 1.35.44.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.35.52.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:45 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35: +21 -6 lines
Diff to previous 1.35 (colored)

Sync with HEAD.

Revision 1.35.50.1 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:19 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.35: +21 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Fri Nov 16 18:36:53 2007 UTC (4 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.35: +21 -6 lines
Diff to previous 1.35 (colored)

Improve Cardbus performance, error handling, and error reporting.

Let the TI1420 PCI-Cardbus bridge do burst reads from the primary
(PCI) bus.  This ought to improve Tx performance on Cardbus NICs.
This optimization may apply to other TI bridges, but I only have
a datasheet for the TI1420. :-/

Activate PCI Parity Error and System Error reporting on PCI-Cardbus
bridges.

To avoid data destruction, set the Master Abort mode to 1.  Stops
the bridge from silently discarding writes from the secondary bus
to the primary bus (Cardbus writes to PCI).  Also, stops the bridge
from fulfilling a read by a bus master on the secondary bus that
failed on the primary bus with 0xffffffff (Cardbus reads from PCI).
Now the bus will indicate an error condition (SERR) instead of
silently destroying/corrupting data.

Forward system error indications from the secondary to the primary
bus.  Detect parity errors on the secondary.

Set a Cardbus card's Latency Timer to something reasonable, according
to the Cardbus card's Minimum Grant and the bandwidth available on
the PCI bus.  Restore the Latency Timer when re-enabling a card
(e.g., after power reactivation).

Revision 1.35.44.3 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:15 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35.44.2: +1 -15 lines
Diff to previous 1.35.44.2 (colored) to branchpoint 1.35 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.35.44.2 / (download) - annotate - [select for diffs], Thu Oct 4 21:43:29 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35.44.1: +15 -4 lines
Diff to previous 1.35.44.1 (colored) to branchpoint 1.35 (colored)

Port generic PCI power handlers to cardbus.

Revision 1.35.44.1 / (download) - annotate - [select for diffs], Thu Aug 23 14:22:38 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35: +17 -3 lines
Diff to previous 1.35 (colored)

Provide cardbus_{set,get}_powerstate instead of the former
cardbus_powerstate / cardbus_setpowerstate.
Provide cardbus_conf_{capture,restore} and cardbus_net_generic_power.

In general: reduce diff to PCI.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:45 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33: +6 -11 lines
Diff to previous 1.33 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:15 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

merge ktrace-lwp.

Revision 1.24.16.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:54 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.7: +7 -12 lines
Diff to previous 1.24.16.7 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD. Here we go again...

Revision 1.34 / (download) - annotate - [select for diffs], Fri Sep 9 14:50:58 2005 UTC (6 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.33: +6 -11 lines
Diff to previous 1.33 (colored)

remove the useless (always 0) device number from cardbus driver state,
autoconf attach structures and configuration cycle functions
(just leave the kernel configuration attribute for now to avoid breaking
 config(1) files)

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 30 04:36:16 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

add a missing const

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:46 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.30: +60 -60 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with -current

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:55 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.30.4.1: +3 -3 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.24.16.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:05 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.6: +3 -3 lines
Diff to previous 1.24.16.6 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 27 00:26:59 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

nuke trailing whitespace

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:42 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.30: +58 -58 lines
Diff to previous 1.30 (colored)

sync with head.

Revision 1.24.16.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:23 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.5: +58 -58 lines
Diff to previous 1.24.16.5 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:36 2005 UTC (7 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.30: +58 -58 lines
Diff to previous 1.30 (colored)

de-__P

Revision 1.24.16.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:56 2004 UTC (7 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.4: +1 -7 lines
Diff to previous 1.24.16.4 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 14 02:34:15 2004 UTC (7 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.29: +1 -7 lines
Diff to previous 1.29 (colored)

remove some defines that aren't used anywhere (and shouldn't exist anyway,
since they hard-code information that should come from locators.h).

Revision 1.24.16.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:25 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.3: +1 -1 lines
Diff to previous 1.24.16.3 (colored) to branchpoint 1.24 (colored)

Fix the sync with head I botched.

Revision 1.24.16.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:26 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.2: +1 -1 lines
Diff to previous 1.24.16.2 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.24.16.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:34 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.16.1: +2 -16 lines
Diff to previous 1.24.16.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 23 18:21:51 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.28: +1 -12 lines
Diff to previous 1.28 (colored)

it is sufficient to include "locators.h" in cardbus.c

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 23 17:52:45 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)

kick out the error-prone handcrafted single-linked list of cardbus
functions; replace by a simple *array[8]

Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 19 14:50:52 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

support rescan / manual detach
This code needs cleanup, at least a reasonable linked list
implementation (fixed a bug in detach_card() in the process which
left a dangling pointer around).
Also removed a questionable and undocumented use of the parent's
device unit number as locator value.
(As with the pcmcia code: someone please review wrt powerup/down etc.)

Revision 1.24.16.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:45:46 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24: +31 -19 lines
Diff to previous 1.24 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Sat May 8 23:40:01 2004 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

Cleanup and remove suplicate copies of the incorrect power setup code.
Thanks to mycroft for suggesting this.
XXX: This is a copy of the pci code; another reason cardbus needs to die.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 8 10:06:29 2003 UTC (8 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.24: +29 -19 lines
Diff to previous 1.24 (colored)

function prototype must not have variable name

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:53:45 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.22.2.1: +2 -1 lines
Diff to previous 1.22.2.1 (colored) next main 1.23 (colored)

Sync kqueue branch with -current.

Revision 1.20.6.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:01 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.20.6.2: +2 -1 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Catch up to -current.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:58 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Nov 6 03:18:18 2001 UTC (10 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, ifpoll, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: ktrace-lwp
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Add ca_bus field.

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:05 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20.6.1: +2 -2 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored)

Catch up with -current.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:52 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

update to -current

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 19 16:12:21 2001 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Fix comment (device has a 'c').

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:01:24 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20: +136 -244 lines
Diff to previous 1.20 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 1 10:30:37 2001 UTC (10 years, 11 months ago) by haya
Branch: MAIN
Branch point for: kqueue
Changes since 1.21: +2 -146 lines
Diff to previous 1.21 (colored)

cardbusvar.h is divided into two files: cardbusvar.h and cardbusreg.h.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 31 08:33:40 2001 UTC (10 years, 11 months ago) by haya
Branch: MAIN
Changes since 1.20: +135 -99 lines
Diff to previous 1.20 (colored)

Cosmetic change.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:39:53 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +77 -24 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 19 01:19:04 2000 UTC (12 years, 1 month ago) by haya
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: nathanw_sa
Changes since 1.19: +11 -4 lines
Diff to previous 1.19 (colored)

Maintenace: add definitions for command status register.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 17 09:15:58 2000 UTC (12 years, 1 month ago) by joda
Branch: MAIN
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

add serial funce entry

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 13 10:11:15 2000 UTC (12 years, 1 month ago) by joda
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

add CARDBUS_SUBCLASS_COMMUNICATIONS_SERIAL

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 2 19:11:37 2000 UTC (12 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

Add a flag to tell whether a MAC address was actually found in the CIS.
XXX This whole piece of code should go away ASAP.  We should use a callback
as in the PCMCIA code.  In fact, we should use the PCMCIA code...

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 22 09:35:06 2000 UTC (12 years, 2 months ago) by haya
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

1. Do not apply 5 V on a CardBus card.
2. Do not avoid ISA hole when a device requires more than
   256-byte io space.
3. Remove sending CardBus bridge's function number to
   cardbus stack.  This number is not needed for anyone.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 4 07:59:20 2000 UTC (12 years, 3 months ago) by haya
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.14: +7 -4 lines
Diff to previous 1.14 (colored)

Now cardbus_mapreg_unmap() has been implemented in
sys/dev/cardbus/cardbus_map.c.  The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 26 09:04:59 2000 UTC (12 years, 4 months ago) by haya
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Add cardbus detach functionality.  Add a function
cardbus_detach_card() in cardbus.c and enable detach code in cardslot.c

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:39 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up to last week's -current.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 17 14:06:43 1999 UTC (12 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Branch point for: wrstuden-devbsize
Changes since 1.12: +1 -4 lines
Diff to previous 1.12 (colored)

Remove extra #endif so we can compile again.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 16 21:04:10 1999 UTC (12 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

Add back cut Cardbus_conf_write/cardbus_conf_write lines.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 15 12:28:54 1999 UTC (12 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

Normalize symbol names used for multiple inclusion protection.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 11 00:29:11 1999 UTC (12 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

Add cardbus_get_capability(), cloned from pci_get_capability().

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:19 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3: +45 -13 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with -current

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 8 20:21:24 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

correct number of BAR:s in cardbus_cis_info

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 8 19:59:08 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.7: +21 -1 lines
Diff to previous 1.7 (colored)

add some bare-bones CIS information to the attach_args struct

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 1 09:59:23 1999 UTC (12 years, 6 months ago) by haya
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.6: +16 -11 lines
Diff to previous 1.6 (colored)

Change the interface of cardbus_function_enable() and
cardbus_function_disable().

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 28 22:29:04 1999 UTC (12 years, 7 months ago) by joda
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

add macro to get ROM image number, given a CIS pointer

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 27 14:09:52 1999 UTC (12 years, 7 months ago) by joda
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

add Expasion ROM register (0x30);
fix typo in Cardbus_conf_write

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 27 10:04:41 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
Changes since 1.3: +7 -2 lines
Diff to previous 1.3 (colored)

Change cardbus API.  The first argument of cardbus_mapreg_map() is
changed to struct cardbus_softc * from cardbus_devfunc_t.  The old
function is renamed to Cardbus_mapreg_map().

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 15 11:10:58 1999 UTC (12 years, 7 months ago) by augustss
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.2: +44 -1 lines
Diff to previous 1.2 (colored)

Add a number of CARDBUS_CLASS defines.  Copied from PCI_CLASS.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 15 06:42:22 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

add NetBSD ID tag.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 15 06:07:19 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>