Up to [cvs.netbsd.org] / src / sys / dev / pcmcia
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.94 / (download) - annotate - [select for diffs], Tue Jul 26 22:24:36 2011 UTC (10 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.93: +2 -4
lines
Diff to previous 1.93 (colored)
Don't copy iobase and iosize members from pcmciabus_attach_args to the pcmcia_softc because they're not used in any meaningful way.
Revision 1.86.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:42 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86.4.1: +16 -16
lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)
sync with head
Revision 1.87.10.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:09 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.87: +39 -84
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.93 / (download) - annotate - [select for diffs], Tue May 12 14:42:19 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.92: +16 -16
lines
Diff to previous 1.92 (colored)
struct device * -> device_t, no functional changes intended.
Revision 1.92 / (download) - annotate - [select for diffs], Tue May 12 13:18:04 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.91: +4 -4
lines
Diff to previous 1.91 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.86.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:14 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86: +53 -97
lines
Diff to previous 1.86 (colored)
sync with head.
Revision 1.87.4.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:21 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.87: +31 -76
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
Sync with HEAD.
Revision 1.91 / (download) - annotate - [select for diffs], Thu Apr 2 00:09:34 2009 UTC (3 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.90: +4 -4
lines
Diff to previous 1.90 (colored)
During shutdown, detach devices in an orderly fashion. Call the detach routine for every device in the device tree, starting with the leaves and moving toward the root, expecting that each (pseudo-)device driver will use the opportunity to gracefully commit outstandings transactions to the underlying (pseudo-)device and to relinquish control of the hardware to the system BIOS. Detaching devices is not suitable for every shutdown: in an emergency, or if the system state is inconsistent, we should resort to a fast, simple shutdown that uses only the pmf(9) shutdown hooks and the (deprecated) shutdownhooks. For now, if the flag RB_NOSYNC is set in boothowto, opt for the fast, simple shutdown. Add a device flag, DVF_DETACH_SHUTDOWN, that indicates by its presence that it is safe to detach a device during shutdown. Introduce macros CFATTACH_DECL3() and CFATTACH_DECL3_NEW() for creating autoconf attachments with default device flags. Add DVF_DETACH_SHUTDOWN to configuration attachments for atabus(4), atw(4) at cardbus(4), cardbus(4), cardslot(4), com(4) at isa(4), elanpar(4), elanpex(4), elansc(4), gpio(4), npx(4) at isa(4), nsphyter(4), pci(4), pcib(4), pcmcia(4), ppb(4), sip(4), wd(4), and wdc(4) at isa(4). Add a device-detachment "reason" flag, DETACH_SHUTDOWN, that tells the autoconf code and a device driver that the reason for detachment is system shutdown. Add a sysctl, kern.detachall, that tells the system to try to detach every device at shutdown, regardless of any device's DVF_DETACH_SHUTDOWN flag. The default for kern.detachall is 0. SET IT TO 1, PLEASE, TO HELP TEST AND DEBUG DEVICE DETACHMENT AT SHUTDOWN. This is a work in progress. In future work, I aim to treat pseudo-devices more thoroughly, and to gracefully tear down a stack of (pseudo-)disk drivers and filesystems, including cgd(4), vnd(4), and raid(4) instances at shutdown. Also commit some changes that are not easily untangled from the rest: (1) begin to simplify device_t locking: rename struct pmf_private to device_lock, and incorporate device_lock into struct device. (2) #include <sys/device.h> in sys/pmf.h in order to get some definitions that it needs. Stop unnecessarily #including <sys/device.h> in sys/arch/x86/include/pic.h to keep the amd64, xen, and i386 releases building.
Revision 1.90 / (download) - annotate - [select for diffs], Sun Mar 15 20:30:57 2009 UTC (3 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.89: +6 -10
lines
Diff to previous 1.89 (colored)
ansify function definitions
Revision 1.89 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:22 2009 UTC (3 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.88: +4 -5
lines
Diff to previous 1.88 (colored)
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.
Revision 1.88 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:20 2009 UTC (3 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.87: +23 -63
lines
Diff to previous 1.87 (colored)
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.)
Revision 1.85.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:30 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.85.6.1: +23 -22
lines
Diff to previous 1.85.6.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)
Sync with HEAD.
Revision 1.86.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:09 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.86: +25 -24
lines
Diff to previous 1.86 (colored) next main 1.87 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.86.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:43 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.86: +25 -24
lines
Diff to previous 1.86 (colored) next main 1.87 (colored)
Sync with head.
Revision 1.87 / (download) - annotate - [select for diffs], Thu Jul 3 19:07:43 2008 UTC (3 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
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-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,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
jym-xensuspend
Changes since 1.86: +25 -24
lines
Diff to previous 1.86 (colored)
split device/softc Now I'm through - all my devices are split.
Revision 1.85.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:46 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.85: +14 -14
lines
Diff to previous 1.85 (colored)
Sync with HEAD.
Revision 1.86 / (download) - annotate - [select for diffs], Sat Apr 5 21:31:23 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Changes since 1.85: +14 -14
lines
Diff to previous 1.85 (colored)
use aprint_*_dev and device_xname
Revision 1.73.4.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:28 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.73.4.3: +21 -3
lines
Diff to previous 1.73.4.3 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)
sync with head
Revision 1.82.24.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:15 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.82: +23 -4
lines
Diff to previous 1.82 (colored) next main 1.83 (colored)
sync with HEAD
Revision 1.84.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:08 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.84: +16 -3
lines
Diff to previous 1.84 (colored) next main 1.85 (colored)
Sync with HEAD
Revision 1.82.30.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:26 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.82.30.1: +21 -3
lines
Diff to previous 1.82.30.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)
Sync with HEAD.
Revision 1.83.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:20 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.83: +21 -3
lines
Diff to previous 1.83 (colored) next main 1.84 (colored)
Sync with head.
Revision 1.85 / (download) - annotate - [select for diffs], Sun Dec 16 21:28:30 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
vmlocking2-base3,
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-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.84: +16 -3
lines
Diff to previous 1.84 (colored)
Improve pci, cbb, cardslot, cardbus, and pcmcia to support detachment
of this entire device tree:
pci0 at mainbus0
elansc0 at pci0
gpio0 at elansc0
cbb0 at pci0
cardslot0 at cbb0
cardbus0 at cardslot0
pcmcia0 at cardslot0
cbb1 at pci0
cardslot1 at cbb1
cardbus1 at cardslot1
rtw0 at cardbus1
pcmcia1 at cardslot1
sip0 at pci0
nsphyter0 at sip0
sip1 at pci0
nsphyter1 at sip1
Whew!
Revision 1.83.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:37:19 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.83: +7 -2
lines
Diff to previous 1.83 (colored) next main 1.84 (colored)
sync with head.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:14 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.83: +7 -2
lines
Diff to previous 1.83 (colored)
Merge jmcneill-pm branch.
Revision 1.82.30.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:51 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.82: +4 -3
lines
Diff to previous 1.82 (colored)
Sync with HEAD.
Revision 1.82.22.4 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:34 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.82.22.3: +3 -3
lines
Diff to previous 1.82.22.3 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.73.4.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:00 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.73.4.2: +4 -3
lines
Diff to previous 1.73.4.2 (colored) to branchpoint 1.73 (colored)
sync with head
Revision 1.82.22.3 / (download) - annotate - [select for diffs], Sat Dec 1 14:40:36 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.82.22.2: +4 -3
lines
Diff to previous 1.82.22.2 (colored) to branchpoint 1.82 (colored)
Sync with HEAD.
Revision 1.83 / (download) - annotate - [select for diffs], Sat Dec 1 14:36:57 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base
Branch point for: yamt-kmem,
vmlocking2
Changes since 1.82: +4 -3
lines
Diff to previous 1.82 (colored)
aprintify
Revision 1.82.22.2 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:30 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.82.22.1: +5 -58
lines
Diff to previous 1.82.22.1 (colored) to branchpoint 1.82 (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.82.22.1 / (download) - annotate - [select for diffs], Tue Sep 4 15:05:21 2007 UTC (4 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.82: +60 -2
lines
Diff to previous 1.82 (colored)
Add a basic generic network power management handler for PCMCIA as well. Contrary to the versions for PCI/Cardbus, expect the caller to provide the status variable as we currently have no way in hardware to do that. This handler should be extended to power down/power up the slots on D0/D3 transistions.
Revision 1.73.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:18 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.73.4.1: +7 -12
lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored)
sync with head.
Revision 1.79.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:06 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.79.10.1: +6 -7
lines
Diff to previous 1.79.10.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)
sync with head.
Revision 1.79.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:43 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.79: +7 -12
lines
Diff to previous 1.79 (colored) next main 1.80 (colored)
Sync with head.
Revision 1.82 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:20 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
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,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
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,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-audiomp-base,
ad-audiomp
Branch point for: mjf-devfs,
matt-armv6,
jmcneill-pm
Changes since 1.81: +5 -5
lines
Diff to previous 1.81 (colored)
__unused removal on arguments; approved by core.
Revision 1.81 / (download) - annotate - [select for diffs], Tue Oct 24 20:54:10 2006 UTC (5 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.80: +3 -4
lines
Diff to previous 1.80 (colored)
kill the "irq" llocator for pcmcia - this doesn't make sense because irq mapping is done by the controller, and it is not used anywhere afaict
Revision 1.79.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:39 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.79: +6 -10
lines
Diff to previous 1.79 (colored)
sync with head
Revision 1.80 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:50 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.79: +6 -10
lines
Diff to previous 1.79 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.78.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:53:55 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
sync with head
Revision 1.73.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:06:14 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.73: +11 -30
lines
Diff to previous 1.73 (colored)
sync with head.
Revision 1.79.4.1 / (download) - annotate - [select for diffs], Thu Jun 15 16:32:10 2006 UTC (5 years, 11 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.79: +4 -2
lines
Diff to previous 1.79 (colored) next main 1.80 (colored)
Adapt to new com framework.
Revision 1.78.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:25 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
Sync with head.
Revision 1.78.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:59 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
sync with head.
Revision 1.78.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:21 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
sync with head.
Revision 1.78.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:23 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored) next main 1.79 (colored)
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.79 / (download) - annotate - [select for diffs], Wed Mar 29 06:00:46 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2,
gdamore-uart
Changes since 1.78: +3 -3
lines
Diff to previous 1.78 (colored)
Replace device_locators() with device_locator(), and use it.
Revision 1.78 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:23 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.77: +2 -2
lines
Diff to previous 1.77 (colored)
merge ktrace-lwp.
Revision 1.35.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:07:24 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.7: +10 -29
lines
Diff to previous 1.35.2.7 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)
Sync with HEAD. Here we go again...
Revision 1.73.2.1 / (download) - annotate - [select for diffs], Mon Sep 12 12:38:05 2005 UTC (6 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.73: +3 -4
lines
Diff to previous 1.73 (colored) next main 1.74 (colored)
Pull up following revision(s) (requested by christos in ticket #761): sys/dev/pcmcia/pcmcia.c: revision 1.74 PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card Call pcmcia_socket_settype sooner. I removed the later call, so the submitter should test the final code before I close the PR.
Revision 1.77 / (download) - annotate - [select for diffs], Fri Aug 26 11:01:43 2005 UTC (6 years, 9 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.76: +3 -3
lines
Diff to previous 1.76 (colored)
use XXXCF_NLOCS constants instead of magic numbers
Revision 1.76 / (download) - annotate - [select for diffs], Thu Aug 25 22:33:19 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.75: +4 -20
lines
Diff to previous 1.75 (colored)
kill a number of autoconf submatch functions which follow the standard scheme: if (<configured> != <wildcard> && <configured> != <real>) then fail else ask device match function This is handled by config_stdsubmatch() now.
Revision 1.75 / (download) - annotate - [select for diffs], Thu Aug 25 18:35:39 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.74: +9 -11
lines
Diff to previous 1.74 (colored)
replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
Revision 1.74 / (download) - annotate - [select for diffs], Mon Aug 15 18:58:24 2005 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.73: +3 -4
lines
Diff to previous 1.73 (colored)
PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card Call pcmcia_socket_settype sooner. I removed the later call, so the submitter should test the final code before I close the PR.
Revision 1.71.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:13 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.71: +11 -11
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
sync with -current
Revision 1.71.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:34 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.71.6.1: +4 -4
lines
Diff to previous 1.71.6.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.35.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:49:38 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.6: +4 -4
lines
Diff to previous 1.35.2.6 (colored) to branchpoint 1.35 (colored)
Sync with HEAD. Hi Perry!
Revision 1.73 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:43 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: yamt-lazymbuf,
netbsd-3
Changes since 1.72: +4 -4
lines
Diff to previous 1.72 (colored)
nuke trailing whitespace
Revision 1.71.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:50 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.71: +9 -9
lines
Diff to previous 1.71 (colored)
sync with head.
Revision 1.35.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:47:09 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.5: +9 -9
lines
Diff to previous 1.35.2.5 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.72 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:45 2005 UTC (7 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.71: +9 -9
lines
Diff to previous 1.71 (colored)
de-__P
Revision 1.35.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:32:21 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.4: +2 -2
lines
Diff to previous 1.35.2.4 (colored) to branchpoint 1.35 (colored)
Fix the sync with head I botched.
Revision 1.35.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:50:23 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.3: +2 -2
lines
Diff to previous 1.35.2.3 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.35.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:43 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.2: +120 -76
lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Aug 18 12:01:13 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.70: +76 -19
lines
Diff to previous 1.70 (colored)
Allow to rescan and detach by user request, using the new autoconf functions. For later rescans (eg after a driver LKM was loaded) to make sense, don't consider it an error if no driver was attached on the initial bus scan. Someone who understands the enable/disable/powerup/down stuff please review this.
Revision 1.70 / (download) - annotate - [select for diffs], Thu Aug 12 19:59:07 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.69: +6 -19
lines
Diff to previous 1.69 (colored)
Simplify a little. Pass down the card type from pcmcia_function_enable(), which just gets it from the config entry for the function it's enabling. Multifunction cards are defined to be of type I/O on every function, so there is no possibility of accidentally switching.
Revision 1.69 / (download) - annotate - [select for diffs], Thu Aug 12 17:31:06 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.68: +5 -3
lines
Diff to previous 1.68 (colored)
If the card is being detached, do not try to write the CCR to disable the function.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 12 17:26:51 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.67: +8 -15
lines
Diff to previous 1.67 (colored)
Always write the IOBASE/IOLIMIT registers if they're set in the CCR mask. We can't really rely on multifunction devices having a CIS that reflects this -- e.g. some cards use a combined Ethernet+modem chip, but only actually serve one of the functions. (We have to assume the configuration index reflects the bits needed to enable the function.)
Revision 1.67 / (download) - annotate - [select for diffs], Thu Aug 12 17:07:52 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.66: +9 -9
lines
Diff to previous 1.66 (colored)
Write the configuration option register -- possibly switching the device into its I/O mode -- as the *last* write to the CCR.
Revision 1.66 / (download) - annotate - [select for diffs], Thu Aug 12 17:06:49 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.65: +5 -4
lines
Diff to previous 1.65 (colored)
Don't call socket_settype() to enable I/O interrupts until after we've written the CCR.
Revision 1.65 / (download) - annotate - [select for diffs], Thu Aug 12 16:04:20 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.64: +24 -20
lines
Diff to previous 1.64 (colored)
My previous understanding of the I/O base/limit registers was incorrect. However, so was the old code. Now it works correctly. :-)
Revision 1.35.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:01 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.1: +353 -392
lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)
Sync with HEAD.
Revision 1.64 / (download) - annotate - [select for diffs], Wed Aug 11 20:57:40 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.63: +7 -5
lines
Diff to previous 1.63 (colored)
Output a message if we fail to find anything useful in the CIS, rather than appearing to do nothing.
Revision 1.63 / (download) - annotate - [select for diffs], Wed Aug 11 04:35:35 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.62: +2 -4
lines
Diff to previous 1.62 (colored)
Do not ever set IOIS8. We are not running on an 8088.
Revision 1.62 / (download) - annotate - [select for diffs], Wed Aug 11 04:25:28 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.61: +5 -13
lines
Diff to previous 1.61 (colored)
Always use PCMCIA_WIDTH_AUTO rather than PCMCIA_WIDTH_IO16. This spec is pretty clear on how this works.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 11 00:32:44 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.60: +6 -6
lines
Diff to previous 1.60 (colored)
Fix uninitialized variable warnings (which did not appear on x86).
Revision 1.60 / (download) - annotate - [select for diffs], Wed Aug 11 00:18:20 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.59: +11 -9
lines
Diff to previous 1.59 (colored)
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!
Revision 1.59 / (download) - annotate - [select for diffs], Tue Aug 10 23:34:06 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.58: +27 -29
lines
Diff to previous 1.58 (colored)
Move the socket reference counting into pcmcia_socket_{enable,disable}(), and
use that where needed.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 10 19:15:08 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.57: +4 -5
lines
Diff to previous 1.57 (colored)
Whoops, look at both the ID numbers and the CIS strings in each pcmcia_product. It's dumb that drivers depend on this, but...
Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 10 18:43:50 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
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.
Revision 1.56 / (download) - annotate - [select for diffs], Tue Aug 10 18:39:08 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.55: +32 -20
lines
Diff to previous 1.55 (colored)
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_*.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Aug 10 15:29:56 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.54: +13 -7
lines
Diff to previous 1.54 (colored)
Print diagnostics in only one place if intr_establish() or function_enable() fails. Also, be a little more careful about passing up error values, and consistently clear our interrupt handler pointer.
Revision 1.54 / (download) - annotate - [select for diffs], Tue Aug 10 05:21:59 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.53: +6 -5
lines
Diff to previous 1.53 (colored)
Move the location of a printf() I added.
Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 10 02:50:52 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.52: +210 -14
lines
Diff to previous 1.52 (colored)
Be robust against child devices failing to handle the socket refcnt properly -- force it to 0 when a card is detached, possibly disabling the socket in the process. Add several new functions: * pcmcia_config_alloc(pf, cfe) Tries to allocate all the I/O and memory spaces in a config entry. * pcmcia_config_free(pf) Frees all the I/O and memory spaces for the active configuration. * pcmcia_config_map(pf) Maps all the allocated I/O and memory spaces for the active configuration. * pcmcia_config_unmap(pf) Unmaps all the allocated I/O and memory spaces for the active configuration. And two higher-level functions: * pcmcia_function_configure(pf, validator) Tries to find a CIS config entry that it can allocate the spaces for. Each entry is verified by calling the "validator" function -- which can also do card- and driver-specific fixups. If successful, the regions are all mapped. * pcmcia_function_unconfigure(pf) Equivalent to calling both pcmcia_config_unmap() and pcmcia_config_free(). Most drivers are expected to use the latter two functions, which will greatly reduce the amount of crufty code.
Revision 1.52 / (download) - annotate - [select for diffs], Mon Aug 9 20:02:36 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.51: +14 -263
lines
Diff to previous 1.51 (colored)
Dispense with all the interrupt multiplexing code here, and assume that the underlying implementation DTRT. This has the side effect of causing us to ignore the INTR and INTRACK bits in the CCR -- but this seems for the best anyway, since they are not reliably implemented. (I note that Linux doesn't bother either.)
Revision 1.51 / (download) - annotate - [select for diffs], Mon Aug 9 19:33:07 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.50: +6 -6
lines
Diff to previous 1.50 (colored)
Add newlines to the messages...
Revision 1.50 / (download) - annotate - [select for diffs], Mon Aug 9 19:09:06 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +2 -3
lines
Diff to previous 1.49 (colored)
Whoops, nuke an unused variable.
Revision 1.49 / (download) - annotate - [select for diffs], Mon Aug 9 19:08:19 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +20 -35
lines
Diff to previous 1.48 (colored)
Assume that io_map/unmap and intr_establish/disestablish will not be called with the function enabled. If this happens, issue a warning. (This is only really important for multifunction cards.) This allows me to get rid of a bunch of extra code.
Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 9 18:30:51 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +16 -5
lines
Diff to previous 1.47 (colored)
Make pcmcia_function_disable() primarily responsible for disabling the CCR bits. pcmcia_intr_disestablish() continues to do this as a stopgap.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Aug 9 16:59:10 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.46: +15 -12
lines
Diff to previous 1.46 (colored)
If the function is not enabled, do not attempt to immediately update the CCR. XXX This is a stopgap until all drivers are converted to do their io_maps and intr_establishes before function_enable.
Revision 1.46 / (download) - annotate - [select for diffs], Mon Aug 9 02:10:25 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +5 -3
lines
Diff to previous 1.45 (colored)
Fix a debugging printf().
Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 9 02:01:16 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +2 -6
lines
Diff to previous 1.44 (colored)
Do not set INTRACK ourselves.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 9 01:49:26 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +11 -8
lines
Diff to previous 1.43 (colored)
Implement the correct (I think) interrupt acknowledgement sequence.
Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 9 01:32:04 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.42: +33 -33
lines
Diff to previous 1.42 (colored)
Multifunction fixes: * Don't call handlers for functions that are not enabled. * Always call the handler if the function doesn't support the STATUS register. While I'm here, divide the CCR numbers by 2.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 8 23:19:59 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +20 -2
lines
Diff to previous 1.41 (colored)
Copyright maintenance.
Revision 1.41 / (download) - annotate - [select for diffs], Sun Aug 8 23:17:13 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +41 -51
lines
Diff to previous 1.40 (colored)
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.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 8 05:33:04 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +12 -15
lines
Diff to previous 1.39 (colored)
pcmcia_socket_{enable,disable}() weren't used. Reimplement them as public
functions taking a pcmcia* device structure.
XXX This is a method of last resort for dealing with stupid/insane cards that
we need to probe harder before we can choose a config entry. It should not be
used by most drivers.
Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 6 20:30:05 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
Put a comma before the last CIS string too.
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:50:15 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35: +31 -14
lines
Diff to previous 1.35 (colored)
Sync with HEAD
Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 7 06:43:22 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +13 -8
lines
Diff to previous 1.37 (colored)
More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Jul 7 06:08:25 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +17 -6
lines
Diff to previous 1.36 (colored)
Modify the format of pcmcia_devinfo() slightly.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 22 07:46:48 2003 UTC (8 years, 7 months ago) by briggs
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.35: +5 -4
lines
Diff to previous 1.35 (colored)
Maintain reference count properly for nested enables/disables.
Revision 1.23.2.6 / (download) - annotate - [select for diffs], Fri Jan 3 17:08:04 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.23.2.5: +4 -4
lines
Diff to previous 1.23.2.5 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)
Sync with HEAD.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:24 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (colored)
Use aprint_normal() in cfprint routines.
Revision 1.23.2.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:34 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.4: +6 -7
lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored)
Catch up to -current.
Revision 1.25.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:29 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.25.2.2: +6 -7
lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 2 16:52:20 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Changes since 1.33: +3 -3
lines
Diff to previous 1.33 (colored)
Add trailing ; to CFATTACH_DECL.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Sep 30 22:27:01 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +4 -5
lines
Diff to previous 1.32 (colored)
Use CFATTACH_DECL().
Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 27 20:41:08 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
Declare all cfattach structures const.
Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:17 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:31 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
Revision 1.25.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:21 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.25.2.1: +19 -30
lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored)
catch up with -current on kqueue branch
Revision 1.28.8.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:58 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.28: +19 -30
lines
Diff to previous 1.28 (colored) next main 1.29 (colored)
catch up with -current.
Revision 1.23.2.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:46:12 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.3: +19 -30
lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored)
Catch up to -current.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:02 2002 UTC (9 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.28: +19 -30
lines
Diff to previous 1.28 (colored)
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
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:24 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.25: +4 -3
lines
Diff to previous 1.25 (colored)
Sync kqueue branch with -current.
Revision 1.23.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:26 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.2: +2 -4
lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)
Catch up to -current.
Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 15 13:23:22 2001 UTC (10 years, 5 months ago) by soren
Branch: MAIN
CVS Tags: 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,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.27: +2 -3
lines
Diff to previous 1.27 (colored)
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.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:12 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.26: +2 -3
lines
Diff to previous 1.26 (colored)
don't need <sys/types.h> when including <sys/param.h>
Revision 1.23.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:40 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.1: +4 -1
lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)
Catch up to -current.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Nov 13 07:26:34 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.25: +4 -1
lines
Diff to previous 1.25 (colored)
add RCSIDs
Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:05:20 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23: +3 -5
lines
Diff to previous 1.23 (colored)
Catch up to -current.
Revision 1.25 / (download) - annotate - [select for diffs], Sun May 13 04:23:46 2001 UTC (11 years ago) by jmc
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Changes since 1.24: +1 -3
lines
Diff to previous 1.24 (colored)
Turn off PCMCIADEBUG by default. This should get set with options in a config file
Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 29 20:10:24 2001 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.23: +3 -3
lines
Diff to previous 1.23 (colored)
don't put a trailing comma in pcmcia_devinfo. All the drivers use
printf("%s\n", devinfo) and it looks stupid.
Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:46 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.14: +78 -33
lines
Diff to previous 1.14 (colored) next main 1.15 (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.23 / (download) - annotate - [select for diffs], Fri Jul 28 19:17:02 2000 UTC (11 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
print parent device name too, so we know which socket a card was probed at and whether pcmcia or cardbus
Revision 1.22 / (download) - annotate - [select for diffs], Mon May 8 13:51:36 2000 UTC (12 years ago) by augustss
Branch: MAIN
CVS Tags: 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
Changes since 1.21: +8 -8
lines
Diff to previous 1.21 (colored)
KNF some comments.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 26 19:02:22 2000 UTC (12 years, 3 months ago) by uch
Branch: MAIN
Changes since 1.20: +9 -1
lines
Diff to previous 1.20 (colored)
IT8368E legacy mode requires mode change between I/O access and attribute memory access. XXX
Revision 1.20 / (download) - annotate - [select for diffs], Tue Feb 22 21:29:36 2000 UTC (12 years, 3 months ago) by chopps
Branch: MAIN
Changes since 1.19: +2 -14
lines
Diff to previous 1.19 (colored)
remove bogus debug (was reading unmapped CCR)
Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 8 12:51:30 2000 UTC (12 years, 3 months ago) by enami
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.18: +2 -1
lines
Diff to previous 1.18 (colored)
- Don't rely on implicit declaration. - Sinc wi/ existing coding style.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 7 09:35:29 2000 UTC (12 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.17: +23 -13
lines
Diff to previous 1.17 (colored)
Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a string suitable for printing in the attach message.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 5 20:02:43 2000 UTC (12 years, 3 months ago) by nathanw
Branch: MAIN
Changes since 1.16: +3 -2
lines
Diff to previous 1.16 (colored)
LP64 printf fixes.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 4 01:27:14 2000 UTC (12 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.15: +36 -1
lines
Diff to previous 1.15 (colored)
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.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 23 20:44:04 2000 UTC (12 years, 4 months ago) by aymeric
Branch: MAIN
Changes since 1.14: +5 -3
lines
Diff to previous 1.14 (colored)
add right casts to printf bus_space parameters
Revision 1.13.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:26 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.13: +6 -1
lines
Diff to previous 1.13 (colored) next main 1.14 (colored)
Pull up to last week's -current.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 15 06:07:31 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.13: +6 -1
lines
Diff to previous 1.13 (colored)
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
Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 24 04:51:59 1998 UTC (13 years, 5 months ago) by marc
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
chs-ubc2-base,
chs-ubc2
Branch point for: wrstuden-devbsize
Changes since 1.12: +3 -1
lines
Diff to previous 1.12 (colored)
add quirk support for cards which lie extensively about their CIS
Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 24 04:50:43 1998 UTC (13 years, 5 months ago) by marc
Branch: MAIN
Changes since 1.11: +65 -25
lines
Diff to previous 1.11 (colored)
add code to permit pcmcia intr debugging
Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 17 08:49:12 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.10: +68 -14
lines
Diff to previous 1.10 (colored)
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...)
Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 14 01:54:25 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +15 -3
lines
Diff to previous 1.9 (colored)
Make a comment about what pcmcia_detach_card() should do.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:55 1998 UTC (13 years, 9 months ago) by eeh
Branch: MAIN
CVS Tags: chs-ubc-base,
chs-ubc
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Merge paddr_t changes into the main branch.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:03 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 9 07:32:57 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.7: +1 -18
lines
Diff to previous 1.7 (colored)
Nuke __BROKEN_INDIRECT_CONFIG.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 5 02:51:17 1998 UTC (13 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.6: +9 -8
lines
Diff to previous 1.6 (colored)
In the function pcmcia_card_gettype: - When there is only one pcmcia function, don't use first config entry to determine card type. Instead, use the config entry actually used to initialize the pcmcia function if it is already initialized, else a card is memory-type. - Don't put a space after cast. - Use SIMPLEQ_FIRST/NEXT macro.
Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 7 17:58:17 1998 UTC (14 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.5: +10 -14
lines
Diff to previous 1.5 (colored)
- remove duplicate setting of CCR - fix debugging code so that it compiles - reorder the disabling code so that it is more logical - add splhigh()/splx() in the first establish setting for symmetry
Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 1 23:49:02 1998 UTC (14 years, 3 months ago) by marc
Branch: MAIN
Changes since 1.4: +177 -78
lines
Diff to previous 1.4 (colored)
rewrite mfc intr management not to use unexported spl* functions add mfc iobase/iosize support add power management support
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 12 09:36:54 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +1 -5
lines
Diff to previous 1.3 (colored)
Update for changes to config.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 19 14:04:29 1997 UTC (14 years, 7 months ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.2: +5 -2
lines
Diff to previous 1.2 (colored)
Include locators.h and use symbolic name comes from it.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 16 23:27:30 1997 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +727 -0
lines
Diff to previous 1.1 (colored)
Pull marc-pcmcia branch down from trunk.
Revision 1.1.2.14 / (download) - annotate - [select for diffs], Thu Oct 16 22:43:43 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.13: +30 -1
lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Copyright/license update.
Revision 1.1.2.13 / (download) - annotate - [select for diffs], Thu Oct 16 19:41:59 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.12: +3 -1
lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)
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.
Revision 1.1.2.12 / (download) - annotate - [select for diffs], Wed Oct 15 03:16:58 1997 UTC (14 years, 7 months ago) by enami
Branch: marc-pcmcia
Changes since 1.1.2.11: +3 -1
lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)
defopt PCMCIAVERBOSE.
Revision 1.1.2.11 / (download) - annotate - [select for diffs], Wed Oct 15 02:41:38 1997 UTC (14 years, 7 months ago) by enami
Branch: marc-pcmcia
Changes since 1.1.2.10: +5 -6
lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)
No need to cast a generic pointer.
Revision 1.1.2.10 / (download) - annotate - [select for diffs], Tue Oct 14 05:29:32 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.9: +512 -470
lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)
KNF, RCS IDs.
Revision 1.1.2.9 / (download) - annotate - [select for diffs], Mon Sep 29 20:37:09 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.8: +12 -2
lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)
- In pcmcia_function_enable(), don't panic if the function is already enabled; just return, instead. - In pcmcia_function_disable(), add a check for "function is already disabled", and, if it is, just return.
Revision 1.1.2.8 / (download) - annotate - [select for diffs], Sat Sep 27 02:22:18 1997 UTC (14 years, 8 months ago) by marc
Branch: marc-pcmcia
Changes since 1.1.2.7: +30 -20
lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)
- add a card_gettype function to the chip->pcmcia interface, and remove the variable from the card_attach function - add power management calls
Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sat Aug 23 01:48:26 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.6: +88 -11
lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)
Split up pcmcia_enable_function() into pcmcia_function_init() and pcmcia_function_enable(). Implement pcmcia_function_disable(). If the enabled count on a socket reaches 0, call the chipset-level socket disable function. If the enabled count becomes non-0, call the chipset-level socket enable function.
Revision 1.1.2.6 / (download) - annotate - [select for diffs], Mon Aug 11 09:36:27 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.5: +4 -7
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)
Pass the PCMCIA function structure rather than an IRQ mask to the interrupt establish function.
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sun Aug 10 22:47:52 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.4: +64 -40
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)
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.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Thu Jul 31 18:08:33 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.3: +10 -7
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
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.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Jul 30 19:34:07 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.2: +2 -1
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
If Really Verbse Debugging is compiled in, use a patchable variable to turn the messages on/off, so you can clean up the output without rebuilding.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jul 30 07:38:54 1997 UTC (14 years, 9 months ago) by marc
Branch: marc-pcmcia
Changes since 1.1.2.1: +0 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
add the pcmcia device dir.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Jul 30 07:30:25 1997 UTC (14 years, 9 months ago) by marc
Branch: marc-pcmcia
Changes since 1.1: +531 -0
lines
Diff to previous 1.1 (colored)
added pcmcia infrastructure and a few devices
Revision 1.1, Wed Jul 30 07:30:25 1997 UTC (14 years, 9 months ago) by marc
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-base
Branch point for: marc-pcmcia
FILE REMOVED
file pcmcia.c was initially added on branch marc-pcmcia.