The NetBSD Project

CVS log for src/sys/dev/pci/ohci_pci.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Sun Jun 10 06:15:53 2012 UTC (11 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

merge the jmcneill-usbmp branch.  many thanks to jared for the
initial work, and every one else who has tested things for me.
this is largely my fault at this point :-)

the main changes are something like:

        - usbd_bus_methods{} gains a get_lock() to enable the
          host controller to provide a lock for the USB code.
          if the lock isn't provided, old-style protection is
          (partially) applied.

        - ehci/ohci/uhci have been converted to the new
          interfaces, including mutex/cv/etc conversion.

        - usbdivar.h contains a discussion about locking and
          what locks are held for which method calls.  more
          to come for usbdi(9) here.

        - audio drivers (uaudio, umidi, auvitek) have been
          properly SMPified now that USB is ready.

        - scsi drivers have been modified to take the kernel
          lock explicitly before calling into scsi code.

        - usb pipes are associated with a lock, that is the
          same as the controller lock.  (this could be split
          up further in the future.)

        - several usbfoo_locked() or usbfoo_unlocked()
          functions have been added to the usbdi(9) to
          enable functionality with or without the USB
          lock (per controller) already being held.

the TODO.usbmp file has specific details on what is left to
do, including what device-specific changes should be done now
that the whole framework is ready.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Apr 5 04:04:05 2012 UTC (13 months, 2 weeks ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.48: +12 -3 lines
Diff to previous 1.48 (colored)

abort attach if memory access is not enabled
this avoids a panic later on when trying to attach to an unconfigured ohci
found for example in later iBooks when DIAGNOSTIC is set

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:22 2012 UTC (15 months, 2 weeks ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.47: +3 -7 lines
Diff to previous 1.47 (colored)

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 4 22:48:15 2011 UTC (2 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.46: +6 -3 lines
Diff to previous 1.46 (colored)

Deregister PMF handlers during detachment.  Complete the host controller
shutdown.

Revision 1.46 / (download) - annotate - [select for diffs], Tue May 25 08:37:10 2010 UTC (2 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Revert earlier changes to callers of pci_find{vendor,product} since
the original routine entrypoint name has been restored.

Requested by dyoung@ and mrg@

Revision 1.45 / (download) - annotate - [select for diffs], Mon May 24 20:29:49 2010 UTC (2 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Update all callers of the pci_find{vendor,product} routines to now call
these routines through their global pointers.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 11 04:00:36 2010 UTC (3 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

various aprint_* fixes.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 26 08:54:13 2009 UTC (4 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-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

detach ohci on shutdown

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 26 08:46:10 2009 UTC (4 years ago) by cegger
Branch: MAIN
Changes since 1.41: +37 -17 lines
Diff to previous 1.41 (colored)

Fix error handling.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 17 19:44:13 2009 UTC (4 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (colored)

Use device_t instead of 'struct device *' or device_ptr_t.  Use cfdata_t
instead of 'struct cfdata *'. Delete some gratuitous parentheses.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 17 17:31:01 2009 UTC (4 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.39: +7 -2 lines
Diff to previous 1.39 (colored)

Disable interrupts on the h/w before disestablishing the PCI interrupt
handler.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, 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, hpcarm-cleanup-nbase, 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.38: +2 -9 lines
Diff to previous 1.38 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 29 02:20:41 2008 UTC (5 years, 1 month ago) by nakayama
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.37: +3 -3 lines
Diff to previous 1.37 (colored)

Fix ohci brokenness in previous commit.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 28 17:14:45 2008 UTC (5 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.36: +8 -5 lines
Diff to previous 1.36 (colored)

split device/softc for USB host controllers and the usb (control)
device,
this is hairy stuff, and I've only tested with uhci/ehci at pci,
please test the rest and report problems

Revision 1.36 / (download) - annotate - [select for diffs], Fri Mar 7 21:48:46 2008 UTC (5 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.35: +7 -9 lines
Diff to previous 1.35 (colored)

Use device_t and accessors.

In ohci_{pci,cardbus}_attach, do not get the device_t by casting
the softc to void *, but use `self' instead.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 7 21:36:51 2008 UTC (5 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

Register the shutdown hook using pmf_device_register1().

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 22 22:22:27 2008 UTC (5 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

Add method to detach children.

Temporary: use PMF_FN_PROTO, PMF_FN_ARGS.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:11 2007 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.32: +7 -2 lines
Diff to previous 1.32 (colored)

Merge jmcneill-pm branch.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:53 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (6 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, 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, itohy-usb1-base, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, itohy-usb1, bouyer-xenamd64
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

__unused removal on arguments; approved by core.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:32 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (7 years, 5 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: +2 -2 lines
Diff to previous 1.28 (colored)

merge ktrace-lwp.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (7 years, 10 months ago) by thorpej
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: +8 -12 lines
Diff to previous 1.27 (colored)

Use ANSI function decls and static.

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

nuke trailing whitespace

Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 2 18:43:38 2004 UTC (8 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

For the PCIVERBOSE case, separate vendors and products into separate tables.
Eliminating redundant pointers in the tables saves nearly 20K (20% of the table
size).  In the process, add a pci_findproduct() and make that and
pci_findvendor() return a "const char *".

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:06 2004 UTC (9 years ago) by itojun
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 22 00:17:12 2004 UTC (9 years ago) by itojun
Branch: MAIN
Changes since 1.23: +5 -6 lines
Diff to previous 1.23 (colored)

sprintf -> snprintf

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:47 2002 UTC (10 years, 7 months ago) by thorpej
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, 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.22: +3 -3 lines
Diff to previous 1.22 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:54 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -6 lines
Diff to previous 1.21 (colored)

Use CFATTACH_DECL().

Revision 1.21 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:32 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Declare all cfattach structures const.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:46 2001 UTC (11 years, 6 months ago) by lukem
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, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

add RCSID

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 6 03:17:36 2001 UTC (11 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.18: +14 -1 lines
Diff to previous 1.18 (colored)

Add some data structures to keep enable finding companion controllers
for EHCI.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:14 2000 UTC (12 years, 4 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 6 00:17:23 2000 UTC (12 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.16: +10 -24 lines
Diff to previous 1.16 (colored)

ANSIfy.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 27 15:26:46 2000 UTC (13 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.15: +2 -2 lines
Diff to previous 1.15 (colored)

Change my email address.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 25 09:20:55 2000 UTC (13 years ago) by augustss
Branch: MAIN
Changes since 1.14: +7 -8 lines
Diff to previous 1.14 (colored)

Move the size of the mapped bus_space region into the bus independent softc.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 12 11:21:24 1999 UTC (13 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.13: +56 -23 lines
Diff to previous 1.13 (colored)

Deallocate resources (bus space and interrupts) when detaching from
the bus.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Sep 15 10:25:30 1999 UTC (13 years, 8 months ago) by augustss
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

Add preliminary (untested) code for detaching the USB host controller
(needed for CardBus based controllers).

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 14 01:07:13 1999 UTC (13 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

And commit two files I forgot in the rearrangement for testing for
interrupt context.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 4 22:00:32 1999 UTC (13 years, 8 months ago) by augustss
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

Make sure not to use the io handle before it's been initialized.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 21 21:35:36 1999 UTC (13 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Disable interrupts early.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 20 09:52:35 1999 UTC (14 years ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Keep track of vendor id and make sure the vendor string is NUL terminated.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 13 23:34:38 1999 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.7: +1 -24 lines
Diff to previous 1.7 (colored)

Rework the way ukbd attaches itself as the console (again).  We now allow
the code to pick the first USB keyboard instance as the console, ignoring
which USB controller it's on.  Should eventually allow detaching of the
console keyboard.

From Jason Thorpe <thorpej@nas.nasa.gov>

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 6 19:12:22 1999 UTC (14 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +24 -1 lines
Diff to previous 1.6 (colored)

Add a way for machine-dependent code to tell a USB controller that it
has the console input device.  The USB keyboard driver uses this to
attach the first USB keyboard instance as the console keyboard.

Unfortunately, this must still be deferred to autoconfiguration time,
but there's not much we can do about that right now.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 27 13:03:58 1998 UTC (14 years, 4 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Fold lines to 80 chars.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 25 22:32:04 1998 UTC (14 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Make the copyright header conform to the NetBSD template.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 25 23:23:02 1998 UTC (14 years, 9 months ago) by augustss
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.3: +5 -7 lines
Diff to previous 1.3 (colored)

Use PCI class/subclass/interface to match USB host controllers instead
of vendor/product id.  This makes the probe find more controllers
without recompilation.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 25 15:15:39 1998 UTC (14 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

I forgot to commit these when usb_mem was added.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 22 10:43:37 1998 UTC (14 years, 10 months ago) by augustss
Branch: MAIN
Changes since 1.1: +7 -5 lines
Diff to previous 1.1 (colored)

Add an Acer labs USB controller.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 12 19:51:58 1998 UTC (14 years, 10 months ago) by augustss
Branch: MAIN

Add USB support.  Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers

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>