The NetBSD Project

CVS log for src/sys/dev/pcmcia/com_pcmcia.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:00 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.4.2: +5 -6 lines
Diff to previous 1.57.4.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Mon Nov 23 02:13:47 2009 UTC (2 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, 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, netbsd-6-base, netbsd-6, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, HEAD
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Remove some unecessary includes sys/user.h header.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Nov 12 20:29:30 2009 UTC (2 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.59: +5 -5 lines
Diff to previous 1.59 (colored)

Call com_detach() before doing any bus-specific detachment.

Don't use com_activate(), it's going away.

Revision 1.57.4.2 / (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.57.4.1: +8 -2 lines
Diff to previous 1.57.4.1 (colored) to branchpoint 1.57 (colored)

sync with head.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:03 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.58: +8 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.56.16.3 / (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.56.16.2: +6 -0 lines
Diff to previous 1.56.16.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.58.2.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.58: +8 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Aug 27 05:39:01 2008 UTC (3 years, 8 months ago) by christos
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, 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-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, ad-audiomp2-base, ad-audiomp2
Changes since 1.58: +8 -2 lines
Diff to previous 1.58 (colored)

pmf_register.

Revision 1.56.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:45 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.56.16.1: +0 -7 lines
Diff to previous 1.56.16.1 (colored) to branchpoint 1.56 (colored)

Sync with HEAD.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:35 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:57 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:56 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.57: +2 -9 lines
Diff to previous 1.57 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.56.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:54 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.56: +18 -26 lines
Diff to previous 1.56 (colored)

Sync with HEAD.

Revision 1.56.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:05 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.56: +18 -26 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head.

Revision 1.54.24.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:51 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.54.24.1: +18 -26 lines
Diff to previous 1.54.24.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with HEAD

Revision 1.50.6.3 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:23 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.6.2: +18 -26 lines
Diff to previous 1.50.6.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 14 15:09:11 2008 UTC (4 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.56: +18 -26 lines
Diff to previous 1.56 (colored)

Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.

Revision 1.54.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:40 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.54: +6 -4 lines
Diff to previous 1.54 (colored)

sync with HEAD

Revision 1.50.6.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:41 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.6.1: +6 -4 lines
Diff to previous 1.50.6.1 (colored) to branchpoint 1.50 (colored)

sync with head.

Revision 1.54.22.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:47:05 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.54.22.1: +4 -4 lines
Diff to previous 1.54.22.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:25 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.54.8.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:24 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.54.8.1: +4 -4 lines
Diff to previous 1.54.8.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 19 12:01:03 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:59 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Sync with head.

Revision 1.54.22.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:36 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Sep 22 19:59:56 2007 UTC (4 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Add TDK Bluetooth PC Card.
and reorder.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:17 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50: +8 -13 lines
Diff to previous 1.50 (colored)

sync with head.

Revision 1.52.6.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.52.6.1: +4 -4 lines
Diff to previous 1.52.6.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.52.4.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.52: +6 -9 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with head.

Revision 1.54 / (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-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, 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, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

__unused removal on arguments; approved by core.

Revision 1.52.6.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.52: +6 -9 lines
Diff to previous 1.52 (colored)

sync with head

Revision 1.53 / (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.52: +6 -9 lines
Diff to previous 1.52 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.51.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.51: +4 -6 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:08 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.51: +4 -6 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jul 13 22:56:02 2006 UTC (5 years, 10 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.51: +4 -6 lines
Diff to previous 1.51 (colored)

Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.

Revision 1.51.16.4 / (download) - annotate - [select for diffs], Sat Jun 17 05:12:22 2006 UTC (5 years, 11 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.51.16.3: +4 -6 lines
Diff to previous 1.51.16.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Undo the undo.  Restore COM_INIT_REGS.

Revision 1.51.16.3 / (download) - annotate - [select for diffs], Sat Jun 17 02:37:30 2006 UTC (5 years, 11 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.51.16.2: +6 -4 lines
Diff to previous 1.51.16.2 (colored) to branchpoint 1.51 (colored)

Revert COM_INIT_REGS.

Revision 1.51.16.2 / (download) - annotate - [select for diffs], Fri Jun 16 03:46:12 2006 UTC (5 years, 11 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.51.16.1: +2 -3 lines
Diff to previous 1.51.16.1 (colored) to branchpoint 1.51 (colored)

Remove useless prototype for undefined com_pcmcia_cleanup.

Revision 1.51.16.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.51: +4 -5 lines
Diff to previous 1.51 (colored)

Adapt to new com framework.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:22 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

merge ktrace-lwp.

Revision 1.49.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.49: +9 -9 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with -current

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:48 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.49: +9 -9 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.32.6.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:47:08 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.6.4: +9 -9 lines
Diff to previous 1.32.6.4 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.50 / (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-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, yamt-km-base4, yamt-km-base3, yamt-km-base2, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, matt-timespec, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.49: +9 -9 lines
Diff to previous 1.49 (colored)

de-__P

Revision 1.32.6.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:32:19 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.6.3: +2 -2 lines
Diff to previous 1.32.6.3 (colored) to branchpoint 1.32 (colored)

Fix the sync with head I botched.

Revision 1.32.6.3 / (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.32.6.2: +2 -2 lines
Diff to previous 1.32.6.2 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.32.6.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:59 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.6.1: +59 -150 lines
Diff to previous 1.32.6.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Aug 11 04:25:28 2004 UTC (7 years, 9 months ago) by mycroft
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.48: +2 -4 lines
Diff to previous 1.48 (colored)

Always use PCMCIA_WIDTH_AUTO rather than PCMCIA_WIDTH_IO16.  This spec is
pretty clear on how this works.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 10 19:23:21 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +3 -6 lines
Diff to previous 1.47 (colored)

Remove an extra printf().

Revision 1.47 / (download) - annotate - [select for diffs], Tue Aug 10 19:08:37 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.46: +10 -36 lines
Diff to previous 1.46 (colored)

Replace another home-grown matching function.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Aug 10 18:43:49 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Tue Aug 10 06:10:38 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Copyright maintenance.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Aug 10 02:55:30 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +43 -86 lines
Diff to previous 1.43 (colored)

Use pcmcia_function_{configure,unconfigure}().

Revision 1.43 / (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.42: +8 -33 lines
Diff to previous 1.42 (colored)

Make pcmcia_function_disable() primarily responsible for disabling the CCR
bits.  pcmcia_intr_disestablish() continues to do this as a stopgap.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Aug 9 17:00:53 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +20 -13 lines
Diff to previous 1.41 (colored)

Do io_map() and intr_establish() before enabling the function, always.  This
prevents "stray interrupts" during attach.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 9 15:40:56 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Use PCMCIA_WIDTH_AUTO, not PCMCIA_WIDTH_IO16, since we (sometimes) do 8-bit
access.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 8 23:17:12 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Sat Aug 7 05:27:39 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.38: +6 -8 lines
Diff to previous 1.38 (colored)

Clean up attach messages.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 7 04:55:25 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +10 -6 lines
Diff to previous 1.37 (colored)

Clean up attach messages.

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:50:14 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32: +8 -13 lines
Diff to previous 1.32 (colored)

Sync with HEAD

Revision 1.37 / (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.36: +3 -3 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Wed Jul 7 05:51:42 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.35: +3 -4 lines
Diff to previous 1.35 (colored)

More PCMCIA_STR_* elimination.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 6 13:43:00 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Fix alignment argument to pcmcia_io_alloc() to prevent a gratuitous panic,
per PR 6069.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 23 00:22:55 2003 UTC (8 years, 7 months ago) by uwe
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.33: +3 -3 lines
Diff to previous 1.33 (colored)

Add missing newline at the end of an error message.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:12 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.21.14.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:26 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.21.14.5: +4 -6 lines
Diff to previous 1.21.14.5 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Catch up to -current.

Revision 1.21.16.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:22 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.21.16.3: +4 -6 lines
Diff to previous 1.21.16.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (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.32 / (download) - annotate - [select for diffs], Wed Oct 2 16:52:05 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 30 22:26:59 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +4 -6 lines
Diff to previous 1.30 (colored)

Use CFATTACH_DECL().

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:53 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Declare all cfattach structures const.

Revision 1.21.16.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:12 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.21.16.2: +13 -6 lines
Diff to previous 1.21.16.2 (colored) to branchpoint 1.21 (colored)

catch up with -current on kqueue branch

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:51 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.28: +4 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

catch up with -current.

Revision 1.21.14.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:46:03 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.14.4: +4 -6 lines
Diff to previous 1.21.14.4 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:00 2002 UTC (9 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.28: +4 -6 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.21.14.4 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:07 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.14.3: +9 -0 lines
Diff to previous 1.21.14.3 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 13 17:06:53 2002 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: 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
Branch point for: gehenna-devsw
Changes since 1.27: +13 -8 lines
Diff to previous 1.27 (colored)

PR/16058: Tero Kivinen: Don't attempt to free resources that we failed to
get in the attach phase.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 3 00:18:31 2002 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.26: +10 -6 lines
Diff to previous 1.26 (colored)

make sure that we don't die if attach fails and we pull the card.

Revision 1.21.14.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:49 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.14.2: +5 -5 lines
Diff to previous 1.21.14.2 (colored) to branchpoint 1.21 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.21.16.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:22 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.21.16.1: +5 -5 lines
Diff to previous 1.21.16.1 (colored) to branchpoint 1.21 (colored)

Catch up with -current.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 10 19:20:50 2002 UTC (10 years, 2 months ago) by cyber
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

_io_alloc and _io_map work in pairs, dont try to do anything with the data
until afterward the _io_map.
In some pcmcia chipsets the _io_alloc is a noop.

Revision 1.21.16.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:15 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.21: +11 -4 lines
Diff to previous 1.21 (colored)

Sync kqueue branch with -current.

Revision 1.21.14.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:21 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.14.1: +9 -5 lines
Diff to previous 1.21.14.1 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 24 12:07:27 2001 UTC (10 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll
Changes since 1.24: +8 -3 lines
Diff to previous 1.24 (colored)

enable the card before trying to establish an interrupt because we need the
ccr mapped on multi-function cards.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 24 09:30:40 2001 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

when we disable, we first disestablish the interrupt and then the card.
when we enable, we first configure the card and then establish the interrupt.
This is so that the ccr is mapped on multifunction cards.

Revision 1.23 / (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.22: +2 -3 lines
Diff to previous 1.22 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.21.14.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:35 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Nov 13 07:26:32 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

add RCSIDs

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 14 13:43:02 1999 UTC (12 years, 9 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej_scsipi, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, 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, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: nathanw_sa, kqueue
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Add support for 3Com 3CXEM556B-INT as suggested by Noriyuki KOIZUMI in
PR kern/8188.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:45 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.19: +55 -59 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync w/ -current.

Revision 1.20 / (download) - annotate - [select for diffs], Sun May 23 00:48:46 1999 UTC (13 years ago) by christos
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.19: +55 -59 lines
Diff to previous 1.19 (colored)

KNF!

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 24 03:59:00 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
Branch point for: chs-ubc2
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
3c562.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 20 03:49:53 1998 UTC (13 years, 5 months ago) by nathanw
Branch: MAIN
Changes since 1.17: +18 -8 lines
Diff to previous 1.17 (colored)

Avoid using "generic" configuration table entries during first
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 19 00:04:02 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Make the attachment messages a little prettier:

com3 at pcmcia1 function 0 port 0x2e8-0x2ef: serial device
com3: ns16550a, working fifo

I.e. don't wrap the line.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 19 00:01:30 1998 UTC (13 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +24 -2 lines
Diff to previous 1.15 (colored)

Add support for hot-swapping PCMCIA serial devices.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 22 17:47:58 1998 UTC (13 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.14: +18 -12 lines
Diff to previous 1.14 (colored)

Allocate an I/O according to the config table entries.
Auto assign is done only when all cfe->iospace[0].start fails.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 17 03:28:51 1998 UTC (13 years, 9 months ago) by nathanw
Branch: MAIN
Changes since 1.13: +15 -65 lines
Diff to previous 1.13 (colored)

Reduce com_devs[] to those devices (one!) that we need to match by CIS
string comparison. Change com_dev_match() somewhat to reflect that.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 15 17:47:17 1998 UTC (13 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +37 -3 lines
Diff to previous 1.12 (colored)

Assign my copyrights to TNF.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 15 01:41:31 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +8 -2 lines
Diff to previous 1.11 (colored)

Don't bother with the num_memspace check.  It makes some otherwise-working
cards (e.g. Xircom CM33) fail needlessly.

From Jan van Doorn <jdoorn@nc.com>, PR #5580.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 13 15:08:54 1998 UTC (13 years, 9 months ago) by nathanw
Branch: MAIN
Changes since 1.10: +37 -37 lines
Diff to previous 1.10 (colored)

Rototill match algorithim. New scheme:

1. Does the function claim to be a serial port?
2. Does the function's configuration table present all four
   standard ISA com port ranges?
3. Is the device in our table?

New serial devices do not need to be added to the table unless they
fail both (1) and (2).

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:50 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 30 20:47:11 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored)

Add the Simple Technology Communicator 28.8.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 19 17:28:15 1998 UTC (13 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.8: +35 -47 lines
Diff to previous 1.8 (colored)

Add a devlist2h.awk so that we don't sprinkle the same constants over
each device driver file and use it.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 13 07:37:05 1998 UTC (13 years, 10 months ago) by nathanw
Branch: MAIN
Changes since 1.7: +19 -2 lines
Diff to previous 1.7 (colored)

Add three more cards:
 - USRobotics WorldPort 14.4 modem
 - Mototola Personal Messenger 100c CDPD modem
 - Socket Communications PageCard

Note: Most of this should be replaced with a com-port-detecting
heuristic better than the previous two.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 30 14:14:44 1998 UTC (13 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.6: +7 -1 lines
Diff to previous 1.6 (colored)

Add another modem card.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 23 02:19:25 1998 UTC (13 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Correct the order of arguments to pmatch().

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 21 18:41:07 1998 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.4: +119 -57 lines
Diff to previous 1.4 (colored)

Fix a variety of bogocities:
- Don't enable interrupts on attach time; we don't have to
- Don't assume that because a card has a cfe entry that matches one
  of the standard com ports, is a modem; my floppy was recognized as
  a modem! Require a match of the cis strings against *[Mm][Oo][Dd][Ee][Mm]*
- Print things in order so that we don't mess up the output with un-needed
  newlines
- Using an array of cis identifiers to find e modem should not use the
  function number; it is not reliable. For example 3c562[A-D] are different
  Maybe this can go away altogether and print parts of the cis strings

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 9 07:32:54 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +1 -9 lines
Diff to previous 1.3 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 1 23:50:52 1998 UTC (14 years, 3 months ago) by marc
Branch: MAIN
Changes since 1.2: +91 -39 lines
Diff to previous 1.2 (colored)

 use an array of serial devices, not a cascaded if
 add power management support

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 16 23:27:18 1997 UTC (14 years, 7 months ago) by thorpej
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.1: +235 -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 01:58:56 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.13: +4 -3 lines
Diff to previous 1.1.2.13 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Adjust for new "com" driver home.

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Wed Oct 15 21:53:24 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.12: +4 -3 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored)

Move a few bus-specific things into bus-specific softc structures and
nesting a com_softc within them.

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Wed Oct 15 02:41:23 1997 UTC (14 years, 7 months ago) by enami
Branch: marc-pcmcia
Changes since 1.1.2.11: +2 -2 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored)

No need to cast a generic pointer.

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Tue Oct 14 00:47:18 1997 UTC (14 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.10: +3 -3 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored)

Explicitly align the allocated i/o space region to the size of the allocation.
This was previously implied, but we must explicitly specify it since some
cards may have more strict alignment requirements.

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Mon Oct 6 13:18:52 1997 UTC (14 years, 7 months ago) by enami
Branch: marc-pcmcia
Changes since 1.1.2.9: +3 -1 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored)

Include dev/isa/comreg.h to import the constant COM_FREQ.  Initialize
sc->sc_frequency with COM_FREQ.

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Sat Sep 13 17:25:15 1997 UTC (14 years, 8 months ago) by mycroft
Branch: marc-pcmcia
Changes since 1.1.2.8: +9 -1 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored)

Recognize the modem portion of the IBM Home and Away card.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Sat Aug 23 01:57:45 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.7: +6 -2 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)

Update for changes to pcmcia function manipulation.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sun Aug 10 22:47:49 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.6: +20 -10 lines
Diff to previous 1.1.2.6 (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.6 / (download) - annotate - [select for diffs], Tue Aug 5 00:36:33 1997 UTC (14 years, 9 months ago) by matt
Branch: marc-pcmcia
Changes since 1.1.2.5: +4 -3 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

Suppress spurious printf.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sat Aug 2 04:30:38 1997 UTC (14 years, 9 months ago) by matt
Branch: marc-pcmcia
Changes since 1.1.2.4: +14 -1 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

If the device function matches COM[1-4] then it's a good bet
that's it's a com device.  This hueristic works well for my
Multitech modem.

pcmcia1: CIS version 2.0 or 2.01
pcmcia1: CIS info: Multi-Tech, MT2834LT, FAX MODEM
pcmcia1: Manufacturer code ffffffff, product ffff
pcmcia1: function 0: multi-function, ccr addr 100 mask 3
pcmcia1: function 0, config table entry 32: I/O card; irq mask 86bc; iomask b, iospace 3f8-3ff; audio
pcmcia1: function 0, config table entry 33: I/O card; irq mask 86bc; iomask b, iospace 2f8-2ff; io8 audio
pcmcia1: function 0, config table entry 34: I/O card; irq mask 86bc; iomask b, iospace 3e8-3ef; io8 audio
pcmcia1: function 0, config table entry 35: I/O card; irq mask 86bc; iomask b, iospace 2e8-2ef; io8 audio
com1 at pcmcia1 function 0: ns16550a, working fifo

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Thu Jul 31 00:43:54 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.3: +1 -4 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Remove some gratuitous debugging printfs; this information is already
displayed elsewhere.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Jul 30 18:00:27 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.1.2.2: +3 -3 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

This file wasn't updated for the #ifndef __CGD_INDIRECT_CONFIG ->
#ifdef __BROKEN_INDIRECT_CONFIG change.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jul 30 07:38:48 1997 UTC (14 years, 9 months ago) by marc
Branch: marc-pcmcia
Changes since 1.1.2.1: +1 -1 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:20 1997 UTC (14 years, 9 months ago) by marc
Branch: marc-pcmcia
Changes since 1.1: +198 -0 lines
Diff to previous 1.1 (colored)

added pcmcia infrastructure and a few devices

Revision 1.1, Wed Jul 30 07:30:19 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 com_pcmcia.c was initially added on branch marc-pcmcia.

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>