The NetBSD Project

CVS log for src/sys/dev/pcmcia/Attic/isic_pcmcia.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.44, Sat Sep 22 16:22:23 2018 UTC (5 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.43: +1 -1 lines
FILE REMOVED

Remove isic(4). It is part of ISDN, which we are now retiring.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jul 14 09:27:14 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

- Use aprint() more in isic_pcmcia_attach().
- Add missing aprint_naive("\n").
- swap device_xname() and cde->name in the output of a printf().

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jul 11 11:31:51 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.41: +16 -9 lines
Diff to previous 1.41 (colored)

KNF. No functional change.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:37 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Changes since 1.40: +11 -12 lines
Diff to previous 1.40 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 6 23:05:06 2009 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.39: +5 -11 lines
Diff to previous 1.39 (colored)

Simplify device-activation hooks.

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 12 14:42:18 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.38: +10 -10 lines
Diff to previous 1.38 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 12 13:18:04 2009 UTC (14 years, 10 months ago) by cegger
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:20 2009 UTC (15 years ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Sun Jun 1 23:34:23 2008 UTC (15 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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.35: +2 -2 lines
Diff to previous 1.35 (colored)

off-by-one-key
: ----------------------------------------------------------------------

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:56 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.34: +1 -8 lines
Diff to previous 1.34 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 5 21:31:23 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.33: +6 -9 lines
Diff to previous 1.33 (colored)

use aprint_*_dev and device_xname

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 19 12:01:05 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, 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, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 9 21:01:20 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.31 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:20 2006 UTC (17 years, 4 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, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

__unused removal on arguments; approved by core.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Oct 16 13:00:36 2006 UTC (17 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.29: +7 -14 lines
Diff to previous 1.29 (colored)

* __unused games + other relevant fixes
* give me ANSI C or give me death (at least where it could be easily spotted)

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:23 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 (colored)

merge ktrace-lwp.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 1 15:05:07 2005 UTC (18 years, 9 months ago) by martin
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
Branch point for: yamt-lazymbuf
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored)

constify

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

nuke trailing whitespace

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:45 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

de-__P

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 10 18:43:49 2004 UTC (19 years, 7 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.24: +2 -2 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Mon Aug 9 18:51:32 2004 UTC (19 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +10 -17 lines
Diff to previous 1.23 (colored)

Correct the intr_establish order here.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 4 12:41:46 2004 UTC (20 years, 2 months ago) by martin
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.22: +2 -4 lines
Diff to previous 1.22 (colored)

Attach message formating nit, adapt to recent pcic (et al) changes.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 4 13:57:31 2003 UTC (20 years, 3 months ago) by keihan
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

netbsd.org -> NetBSD.org

This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 28 17:35:30 2003 UTC (20 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.20: +20 -13 lines
Diff to previous 1.20 (colored)

Avoid splx() with uninitialized priority level by duplicating some code
to get rid of gotos.

While doing that, add more verbosity on what failed if attach is not succesful.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 3 16:38:44 2003 UTC (20 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Ready the kernel side of i4b for primary rate interface support by
removing assumptions that there are only two B channels and by
adding support for a varying number of channels.

Due to this, rename previously used isdn identified "bri" to "isdnif",
which better describes the current situation.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 2 16:52:18 2002 UTC (21 years, 6 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.18: +2 -2 lines
Diff to previous 1.18 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 30 22:27:01 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17 (colored)

Use CFATTACH_DECL().

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 27 20:41:06 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Declare all cfattach structures const.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 1 23:51:01 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Sun Apr 14 12:24:27 2002 UTC (21 years, 11 months ago) by martin
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.14: +36 -43 lines
Diff to previous 1.14 (colored)

Fix copyright notice.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 13 10:28:37 2002 UTC (21 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

Defer initialization of the ISAC chip until we enable interrupts - it gets
into a strange failure mode if we do it with disabled interrupt. When
(re-)enabling interrupts reset transmitter and receiver and clear any
pending state.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 10 23:51:09 2002 UTC (21 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

Remove some redundant tries to disable interupts. We already avoided enabling
them.
Fix a stupid typo when enabling/disabling interrupts: we clear pending
interrupts when enabling, not disbling isac interrupts.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 8 12:20:51 2002 UTC (21 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Combine sc_enabled and sc_dying into one field sc_intr_valid, they are used
for the same purpose (ignoring invalid interrupts).

For cards that are not able to stop all interrupts (or we don't know a way
to do that in software, at least) run the clearirq callback even when
ignoring an interrupt because we are not enabled. Otherwise the card would
stop interrupting.

Reserve a driver specific callout handle and an int value in the generic
isic_softc to allow card drivers to implement fancy blinkenlights.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 30 19:13:46 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Be a nice citizen, enable interrupts only when we are ready to talk
to the ISDN (i.e. when userland has /dev/isdn open).

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 29 20:29:54 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Split BRI attaching into two phases, so lower layer drivers can get their
BRI identifier and L3 driver state early on, then finish initializing and
announce the controller to userland when it's ready.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 29 11:21:23 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.8: +22 -11 lines
Diff to previous 1.8 (colored)

Rearange things to avoid panics on detaching cards that failed to
attach.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 27 07:39:38 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.7: +27 -4 lines
Diff to previous 1.7 (colored)

After Jason Thorpe explained to me how it is supposed to work, implement
(de)activate for pcmcia cards.
Implement detach/(de)activate for PCI cards.
Clean up internal state (free call-descriptors) if a controller is
detached while it has open connections.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 25 12:07:33 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.6: +21 -3 lines
Diff to previous 1.6 (colored)

Make pcmcia cards detach properly.
Notify userland of attaching/detaching cards.
This partly fixes PR 15951.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 24 20:35:54 2002 UTC (22 years ago) by martin
Branch: MAIN
Changes since 1.5: +13 -11 lines
Diff to previous 1.5 (colored)

Now that we have all the pieces of the puzzle available start to unriddle
and move them in their proper places.

Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.

This fixes PR 15950.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:12 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

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

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

add RCSIDs

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 24 12:40:30 2001 UTC (23 years ago) by martin
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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.2: +6 -5 lines
Diff to previous 1.2 (colored)

First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 20 22:24:40 2001 UTC (23 years, 1 month ago) by martin
Branch: MAIN
Branch point for: thorpej_scsipi, nathanw_sa
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)

Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.

Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 18 10:36:43 2001 UTC (23 years, 1 month ago) by martin
Branch: MAIN

Filename cleanup police (per discussion with Soren S. Jorvang):
remove all (legacy) "i4b_" prefixes outside of sys/netisdn.
Prefix all card specific driver support files with the basename
of the driver bus attachement file.

Renamed here:
i4b_isic_pcmcia.c -> isic_pcmcia.c
i4b_isic_pcmcia.h -> isic_pcmcia.h
i4b_avm_fritz_pcmcia.c -> isic_pcmcia_avm_fritz.c
i4b_elsa_isdnmc.c -> isic_pcmcia_elsa_isdnmc.c
i4b_elsa_mcall.c -> isic_pcmcia_elsa_mcall.c
i4b_sbspeedstar2.c -> isic_pcmcia_sbspeedstar2.c

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>