The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 24 08:40:46 2023 UTC (2 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: HEAD
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

Consistently use cached chipset tag value.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Oct 28 21:56:44 2022 UTC (3 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10
Changes since 1.74: +3 -2 lines
Diff to previous 1.74 (colored)

ehci(4): Mark PCI interrupt handler MP-safe.

ehci_intr has its own intr lock to coordinate with the MP-safe
softint it defers all its work to, other than reading and writing a
few registers to get and acknowledge the interrupt status.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Mar 13 11:29:21 2022 UTC (10 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

ehci(4): Serialize access to portsc registers.

Both ehci_roothub_ctrl and ehci_suspend/resume do r/m/w on them, so
use a mutex to serialize access to avoid stomping on each other.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Dec 22 21:45:02 2021 UTC (13 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.72: +18 -3 lines
Diff to previous 1.72 (colored)

Three fixes

- pass the 64bit DMA tag if the HCCPARAMS says ehci supports it and the
  64bit DMA tag is available/valid.  This should help with the
  "cannot create xfer" error on 64bit systems.

- restrict the control structure memory allocation to the low 4GB
  (CTRLDSSEGMENT was always set to zero anyway)

- if ehci_init fails then tidyup before returning the error.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:14 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Merge thorpej-cfargs2.

Revision 1.71.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:27:00 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Adapt to CFARGS().

Revision 1.71 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (21 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.70.12.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:13 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.67.2.1: +36 -32 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jun 13 17:33:34 2019 UTC (3 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.69: +19 -9 lines
Diff to previous 1.69 (colored)

Fix the error handling in ehci_pci_attach(): if we got a USB<2 device we
won't call ehci_init(), so don't call ehci_detach() in ehci_pci_detach().

Fixes a panic seen on a recent Lenovo machine, which has an USB 1.1
controller; ehci_detach() was getting called while 'sc' had not been
completely initialized.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jun 13 17:20:25 2019 UTC (3 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.68: +19 -25 lines
Diff to previous 1.68 (colored)

Random style in ehci, also KM_SLEEP does not fail.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.67: +16 -7 lines
Diff to previous 1.67 (colored)

Sync with HEAD

Revision 1.65.4.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:32 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.65.4.2: +16 -7 lines
Diff to previous 1.65.4.2 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.68 / (download) - annotate - [select for diffs], Thu Oct 25 21:07:58 2018 UTC (4 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, isaki-audio2-base, isaki-audio2
Changes since 1.67: +16 -7 lines
Diff to previous 1.67 (colored)

enable MSI support where available

Revision 1.65.4.2 / (download) - annotate - [select for diffs], Mon May 21 04:36:05 2018 UTC (4 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.65.4.1: +3 -3 lines
Diff to previous 1.65.4.1 (colored) to branchpoint 1.65 (colored)

Sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Thu May 10 03:41:00 2018 UTC (4 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

 KNF. No binary change.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:58 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.65: +3 -7 lines
Diff to previous 1.65 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 9 16:21:10 2018 UTC (4 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.65: +3 -7 lines
Diff to previous 1.65 (colored)

Stop potential misuse of vendor names and USB vendor IDs in root hub
device and string descriptors.

Firstly: Few vendors have identical PCI-SIG vendor IDs and USB-IF vendor
IDs.  As such, using the PCI vendor ID as a USB vendor ID may trample
on whomever is allocated that USB vendor ID.

Secondly: The vendor of the host controller hardware implementation has
little to nothing to do with our usbroothub implementation.  Thus we
should not potentially associate any problems therewith to such third
party.

This change will result in root hubs being identified by USB Vendor ID
0x0000.  Root hub vendor string will now be "NetBSD" (or, specifically:
ostype). Product ID (0x0000) and product strings remain unchanged.

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.56.2.2: +25 -27 lines
Diff to previous 1.56.2.2 (colored) next main 1.57 (colored)

update from HEAD

Revision 1.59.2.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.5: +8 -4 lines
Diff to previous 1.59.2.5 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Sat Jul 8 16:34:35 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.58.4.1: +8 -4 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1431):
	sys/dev/pci/ehci_pci.c: revision 1.65
Deal with broken BIOSes that leave PCI interrupts disabled.
Thanks to nick@

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Thu Jun 15 05:30:13 2017 UTC (5 years, 7 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by sborrill in ticket #33):
	sys/dev/pci/ehci_pci.c: revision 1.65
Deal with broken BIOSes that leave PCI interrupts disabled.
Thanks to nick@

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jun 12 10:59:47 2017 UTC (5 years, 7 months ago) by sborrill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

Deal with broken BIOSes that leave PCI interrupts disabled.

Thanks to nick@

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:19 2017 UTC (5 years, 10 months ago) by snj
Branch: netbsd-7
Changes since 1.58: +9 -9 lines
Diff to previous 1.58 (colored)

Pull up following revision(s) (requested by skrll in ticket #1395):
	share/man/man4/axe.4: netbsd-7-nhusb
	share/man/man4/axen.4: netbsd-7-nhusb
	share/man/man4/cdce.4: netbsd-7-nhusb
	share/man/man4/uaudio.4: netbsd-7-nhusb
	share/man/man4/ucom.4: netbsd-7-nhusb
	share/man/man4/uep.4: netbsd-7-nhusb
	share/man/man4/urtw.4: netbsd-7-nhusb
	share/man/man4/usb.4: netbsd-7-nhusb
	share/man/man4/uyap.4: netbsd-7-nhusb
	share/man/man4/xhci.4: netbsd-7-nhusb
	share/man/man9/usbdi.9: netbsd-7-nhusb
	sys/arch/amd64/conf/ALL: netbsd-7-nhusb
	sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
	sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
	sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
	sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
	sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
	sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
	sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
	sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
	sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
	sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
	sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
	sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
	sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
	sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
	sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
	sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
	sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
	sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
	sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
	sys/arch/i386/conf/ALL: netbsd-7-nhusb
	sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
	sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
	sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
	sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
	sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
	sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
	sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
	sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
	sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
	sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
	sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
	sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
	sys/conf/files: netbsd-7-nhusb
	sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
	sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
	sys/dev/ic/sl811hs.c: netbsd-7-nhusb
	sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
	sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
	sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
	sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
	sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
	sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
	sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
	sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
	sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
	sys/dev/usb/TODO: netbsd-7-nhusb
	sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
	sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
	sys/dev/usb/auvitek.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
	sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
	sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
	sys/dev/usb/ehci.c: netbsd-7-nhusb
	sys/dev/usb/ehcireg.h: netbsd-7-nhusb
	sys/dev/usb/ehcivar.h: netbsd-7-nhusb
	sys/dev/usb/emdtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
	sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
	sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
	sys/dev/usb/ezload.c: netbsd-7-nhusb
	sys/dev/usb/ezload.h: netbsd-7-nhusb
	sys/dev/usb/files.usb: netbsd-7-nhusb
	sys/dev/usb/hid.c: netbsd-7-nhusb
	sys/dev/usb/hid.h: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
	sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
	sys/dev/usb/if_atu.c: netbsd-7-nhusb
	sys/dev/usb/if_atureg.h: netbsd-7-nhusb
	sys/dev/usb/if_aue.c: netbsd-7-nhusb
	sys/dev/usb/if_auereg.h: netbsd-7-nhusb
	sys/dev/usb/if_axe.c: netbsd-7-nhusb
	sys/dev/usb/if_axen.c: netbsd-7-nhusb
	sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
	sys/dev/usb/if_axereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cdce.c: netbsd-7-nhusb
	sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
	sys/dev/usb/if_cue.c: netbsd-7-nhusb
	sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_kue.c: netbsd-7-nhusb
	sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
	sys/dev/usb/if_otus.c: netbsd-7-nhusb
	sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
	sys/dev/usb/if_rum.c: netbsd-7-nhusb
	sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
	sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
	sys/dev/usb/if_run.c: netbsd-7-nhusb
	sys/dev/usb/if_runvar.h: netbsd-7-nhusb
	sys/dev/usb/if_smsc.c: netbsd-7-nhusb
	sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
	sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
	sys/dev/usb/if_udav.c: netbsd-7-nhusb
	sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
	sys/dev/usb/if_upgt.c: netbsd-7-nhusb
	sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
	sys/dev/usb/if_upl.c: netbsd-7-nhusb
	sys/dev/usb/if_ural.c: netbsd-7-nhusb
	sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
	sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
	sys/dev/usb/if_url.c: netbsd-7-nhusb
	sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urndis.c: netbsd-7-nhusb
	sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtw.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
	sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
	sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
	sys/dev/usb/if_zyd.c: netbsd-7-nhusb
	sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
	sys/dev/usb/irmce.c: netbsd-7-nhusb
	sys/dev/usb/moscom.c: netbsd-7-nhusb
	sys/dev/usb/motg.c: netbsd-7-nhusb
	sys/dev/usb/motgvar.h: netbsd-7-nhusb
	sys/dev/usb/ohci.c: netbsd-7-nhusb
	sys/dev/usb/ohcireg.h: netbsd-7-nhusb
	sys/dev/usb/ohcivar.h: netbsd-7-nhusb
	sys/dev/usb/pseye.c: netbsd-7-nhusb
	sys/dev/usb/slurm.c: netbsd-7-nhusb
	sys/dev/usb/stuirda.c: netbsd-7-nhusb
	sys/dev/usb/u3g.c: netbsd-7-nhusb
	sys/dev/usb/uark.c: netbsd-7-nhusb
	sys/dev/usb/uatp.c: netbsd-7-nhusb
	sys/dev/usb/uaudio.c: netbsd-7-nhusb
	sys/dev/usb/uberry.c: netbsd-7-nhusb
	sys/dev/usb/ubsa.c: netbsd-7-nhusb
	sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
	sys/dev/usb/ubsavar.h: netbsd-7-nhusb
	sys/dev/usb/ubt.c: netbsd-7-nhusb
	sys/dev/usb/uchcom.c: netbsd-7-nhusb
	sys/dev/usb/ucom.c: netbsd-7-nhusb
	sys/dev/usb/ucomvar.h: netbsd-7-nhusb
	sys/dev/usb/ucycom.c: netbsd-7-nhusb
	sys/dev/usb/udl.c: netbsd-7-nhusb
	sys/dev/usb/udl.h: netbsd-7-nhusb
	sys/dev/usb/udsbr.c: netbsd-7-nhusb
	sys/dev/usb/udsir.c: netbsd-7-nhusb
	sys/dev/usb/uep.c: netbsd-7-nhusb
	sys/dev/usb/uftdi.c: netbsd-7-nhusb
	sys/dev/usb/uftdireg.h: netbsd-7-nhusb
	sys/dev/usb/ugen.c: netbsd-7-nhusb
	sys/dev/usb/ugensa.c: netbsd-7-nhusb
	sys/dev/usb/uhci.c: netbsd-7-nhusb
	sys/dev/usb/uhcireg.h: netbsd-7-nhusb
	sys/dev/usb/uhcivar.h: netbsd-7-nhusb
	sys/dev/usb/uhid.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.c: netbsd-7-nhusb
	sys/dev/usb/uhidev.h: netbsd-7-nhusb
	sys/dev/usb/uhmodem.c: netbsd-7-nhusb
	sys/dev/usb/uhso.c: netbsd-7-nhusb
	sys/dev/usb/uhub.c: netbsd-7-nhusb
	sys/dev/usb/uipad.c: netbsd-7-nhusb
	sys/dev/usb/uipaq.c: netbsd-7-nhusb
	sys/dev/usb/uirda.c: netbsd-7-nhusb
	sys/dev/usb/uirdavar.h: netbsd-7-nhusb
	sys/dev/usb/ukbd.c: netbsd-7-nhusb
	sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.c: netbsd-7-nhusb
	sys/dev/usb/ukyopon.h: netbsd-7-nhusb
	sys/dev/usb/ulpt.c: netbsd-7-nhusb
	sys/dev/usb/umass.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
	sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
	sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
	sys/dev/usb/umassvar.h: netbsd-7-nhusb
	sys/dev/usb/umcs.c: netbsd-7-nhusb
	sys/dev/usb/umct.c: netbsd-7-nhusb
	sys/dev/usb/umidi.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
	sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
	sys/dev/usb/umodem.c: netbsd-7-nhusb
	sys/dev/usb/umodem_common.c: netbsd-7-nhusb
	sys/dev/usb/umodemvar.h: netbsd-7-nhusb
	sys/dev/usb/ums.c: netbsd-7-nhusb
	sys/dev/usb/uplcom.c: netbsd-7-nhusb
	sys/dev/usb/urio.c: netbsd-7-nhusb
	sys/dev/usb/urio.h: netbsd-7-nhusb
	sys/dev/usb/usb.c: netbsd-7-nhusb
	sys/dev/usb/usb.h: netbsd-7-nhusb
	sys/dev/usb/usb_mem.c: netbsd-7-nhusb
	sys/dev/usb/usb_mem.h: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
	sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
	sys/dev/usb/usb_subr.c: netbsd-7-nhusb
	sys/dev/usb/usbdevices.config: netbsd-7-nhusb
	sys/dev/usb/usbdevs: netbsd-7-nhusb
	sys/dev/usb/usbdevs.h: netbsd-7-nhusb
	sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
	sys/dev/usb/usbdi.c: netbsd-7-nhusb
	sys/dev/usb/usbdi.h: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
	sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
	sys/dev/usb/usbdivar.h: netbsd-7-nhusb
	sys/dev/usb/usbhid.h: netbsd-7-nhusb
	sys/dev/usb/usbhist.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub.c: netbsd-7-nhusb
	sys/dev/usb/usbroothub.h: netbsd-7-nhusb
	sys/dev/usb/usbroothub_subr.c: delete
	sys/dev/usb/usbroothub_subr.h: delete
	sys/dev/usb/uscanner.c: netbsd-7-nhusb
	sys/dev/usb/uslsa.c: netbsd-7-nhusb
	sys/dev/usb/usscanner.c: netbsd-7-nhusb
	sys/dev/usb/ustir.c: netbsd-7-nhusb
	sys/dev/usb/uthum.c: netbsd-7-nhusb
	sys/dev/usb/utoppy.c: netbsd-7-nhusb
	sys/dev/usb/uts.c: netbsd-7-nhusb
	sys/dev/usb/uvideo.c: netbsd-7-nhusb
	sys/dev/usb/uvisor.c: netbsd-7-nhusb
	sys/dev/usb/uvscom.c: netbsd-7-nhusb
	sys/dev/usb/uyap.c: netbsd-7-nhusb
	sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
	sys/dev/usb/uyurex.c: netbsd-7-nhusb
	sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
	sys/dev/usb/xhci.c: netbsd-7-nhusb
	sys/dev/usb/xhcireg.h: netbsd-7-nhusb
	sys/dev/usb/xhcivar.h: netbsd-7-nhusb
	sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
	sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
	sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
	sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
	sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
	sys/external/bsd/drm2/include/linux/err.h: delete
	sys/external/bsd/drm2/include/linux/workqueue.h: delete
	sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
	sys/external/bsd/drm2/linux/linux_work.c: delete
	sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
	sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
	sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
	sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
	sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
	sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
	sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
	sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
	sys/sys/mbuf.h: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
	usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-nhusb:
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
     - kern/48308
     - uhub status notification improvements
     - umass(4) probe fix (applied to HEAD already)
     - ohci(4) short transfer fix
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
  This gives the callback a chance of running when another softint handler
  at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
  the network stack.
     - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
       softnet_lock held across usb xfr
     - kern/50491 - unkillable wait in usbd_transfer while using usmsc0
       on raspberry pi 2
     - kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)

Revision 1.59.2.5 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:02 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.4: +4 -3 lines
Diff to previous 1.59.2.4 (colored) to branchpoint 1.59 (colored)

Sync with HEAD

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:09 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 13 20:05:06 2016 UTC (6 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored)

provide intr xname

Revision 1.58.8.2 / (download) - annotate - [select for diffs], Wed Sep 14 08:19:23 2016 UTC (6 years, 4 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.58.8.1: +3 -3 lines
Diff to previous 1.58.8.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Use IPL_USB for interrupt handler

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:08 2016 UTC (6 years, 5 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored)

First pass at netbsd-7 updated with USB code from HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:31 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.62: +11 -12 lines
Diff to previous 1.62 (colored)

Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
    - kern/48308
    - uhub status notification improvements
    - umass(4) probe fix (applied to HEAD already)
    - ohci(4) short transfer fix

Revision 1.59.2.4 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:59 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.3: +10 -10 lines
Diff to previous 1.59.2.3 (colored) to branchpoint 1.59 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Mon Aug 31 10:41:22 2015 UTC (7 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored)

Improve error handling in attach code. From t-hash.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Aug 19 06:16:18 2015 UTC (7 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Interrupt handlers aren't MP-safe yet so use IPL_USB which is IPL_VM
which takes the kernel lock.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jul 15 03:54:53 2015 UTC (7 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

 Initialize some members little earlier. It's not a bug.

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Fri Dec 5 13:23:38 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.2: +5 -6 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored)

Use int for return type for [eou]chi_init and motg_init.

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Wed Dec 3 12:52:07 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.1: +7 -7 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored)

The grand renaming of structure members.

No functional change.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed Dec 3 11:24:44 2014 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Trailing whitespace.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Sep 21 14:30:22 2014 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.58: +4 -10 lines
Diff to previous 1.58 (colored)

Merge the 3 copies of devlist2h.awk that deal with 16 bit key and value
pairs to the compressed one that matt wrote.

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.56.2.1: +4 -3 lines
Diff to previous 1.56.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53.2.2: +4 -3 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:24 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-base, 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
Branch point for: netbsd-7-nhusb, netbsd-7
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:14 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.56: +3 -5 lines
Diff to previous 1.56 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:45:01 2012 UTC (10 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with netbsd-6-0-RELEASE.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:24 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.53.2.1: +16 -9 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

sync with head

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 17:37:28 2012 UTC (10 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: 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-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, matt-nb6-plus-nbase, matt-nb6-plus-base
Changes since 1.54: +3 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Pull up following revision(s) (requested by tstsui in ticket #569):
	sys/dev/pci/ehci_pci.c: revision 1.57
Fix PR kern/46828 (6.0_BETA2 and 6.0_RC1 won't start on DL320/G5p):
 In ehci_get_ownership(), don't explicitly clear EHCI_LEG_HC_BIOS_OWNED
 semaphore bit in the driver before asking BIOS to give up ownership.
 The EHCI spec implies that the semaphore should not be changed by
 the other agent and actually the previous one (introduced in rev 1.53
 after 5.x) caused hangup during probe on at least two HP machines
 as mentioned in the PR.  Analyzed and patch provided by Ryo ONODERA.
Should be pulled up to netbsd-6 (fatal hangup during boot).

Revision 1.57 / (download) - annotate - [select for diffs], Sat Sep 22 14:27:24 2012 UTC (10 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.56: +3 -5 lines
Diff to previous 1.56 (colored)

Fix PR kern/46828 (6.0_BETA2 and 6.0_RC1 won't start on DL320/G5p):
 In ehci_get_ownership(), don't explicitly clear EHCI_LEG_HC_BIOS_OWNED
 semaphore bit in the driver before asking BIOS to give up ownership.
 The EHCI spec implies that the semaphore should not be changed by
 the other agent and actually the previous one (introduced in rev 1.53
 after 5.x) caused hangup during probe on at least two HP machines
 as mentioned in the PR.  Analyzed and patch provided by Ryo ONODERA.

Should be pulled up to netbsd-6 (fatal hangup during boot).

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jul 20 01:26:19 2012 UTC (10 years, 6 months ago) by uwe
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

EHCI_USBINTR is 4 bytes wide, use proper access ops.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Jun 10 06:15:53 2012 UTC (10 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.54: +12 -3 lines
Diff to previous 1.54 (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.53.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:44 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53: +3 -8 lines
Diff to previous 1.53 (colored)

sync with head

Revision 1.53.6.4 / (download) - annotate - [select for diffs], Mon Mar 12 06:42:15 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53.6.3: +8 -2 lines
Diff to previous 1.53.6.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

fix detach bugs:
- need to disestablish the ehci softint's.
- need to destroy needs_explore_cv
- note that ehci.c inits locks, but ehci_pci.c destroys them due to the
  way that the (pci) front end does softint handling, and can only be
  trusted to destroy them.  XXX need to fix this, by looking at the many
  ehci frontends as well and checking ohci/uhci.

Revision 1.53.6.3 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:36 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53.6.2: +3 -8 lines
Diff to previous 1.53.6.2 (colored) to branchpoint 1.53 (colored)

merge to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:19 2012 UTC (11 years ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-0-RC2, netbsd-6-0-RC1, 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
Branch point for: netbsd-6, matt-nb6-plus
Changes since 1.53: +3 -8 lines
Diff to previous 1.53 (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.38.16.1.2.3 / (download) - annotate - [select for diffs], Wed Jan 4 00:10:40 2012 UTC (11 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.38.16.1.2.2: +8 -4 lines
Diff to previous 1.38.16.1.2.2 (colored) to branchpoint 1.38.16.1 (colored) next main 1.39 (colored)

Take changes from matt-nb5-pq3 which fixes how multiple ehci functions
on a pci device claim companion ohci controllers.

Revision 1.38.16.1.2.2 / (download) - annotate - [select for diffs], Tue Jan 3 18:27:21 2012 UTC (11 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.38.16.1.2.1: +6 -4 lines
Diff to previous 1.38.16.1.2.1 (colored) to branchpoint 1.38.16.1 (colored)

Only do the pci_conf_write if PCI_COMMAND_MASTER_ENABLE isn't already set.

Revision 1.53.6.2 / (download) - annotate - [select for diffs], Fri Dec 9 01:52:59 2011 UTC (11 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
CVS Tags: jmcneill-usbmp-pre-base2
Changes since 1.53.6.1: +3 -3 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored)

- make pipe->close method take the thread lock

- convert usb_taskq to use mutex/cv

- convert needs_explore usage into a cv on the thread lock

- remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly
  MPSAFE here now

- use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts

- drop the audio thread lock when calling into usb when it may sleep,
  avoiding a deadlock between audiowrite and audioioctl.  this fixes
  mixerctl -a vs. playing hanging the system
  XXX probably need to check this in a bunch more places.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Sun Dec 4 13:23:16 2011 UTC (11 years, 2 months ago) by jmcneill
Branch: jmcneill-usbmp
Changes since 1.53: +5 -2 lines
Diff to previous 1.53 (colored)

Make ehci mpsafe.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jul 30 13:19:21 2011 UTC (11 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.52: +10 -10 lines
Diff to previous 1.52 (colored)

ehci_get_ownership: clear BIOS semaphore when setting OS semaphore, slow
down poll rate, and make sure to clear all SMI bits when we're done

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:10 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.50: +7 -5 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:49 2011 UTC (11 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.47.2.1: +5 -3 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Mon Apr 4 22:48:15 2011 UTC (11 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.51: +5 -3 lines
Diff to previous 1.51 (colored)

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

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 4 20:37:56 2011 UTC (11 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args.  Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
    pci_intr_map() was a leftover from Xen 2.  Probably a bug.  I
    stopped writing it.  I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
    Probably a bug.  I use a temporary variable.  I have not tested this
    change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
    Probably a bug.  Use a local pci_attach_args.  I have not tested
    this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
    caller's pci_attach_args.  Probably a bug.  Make a local copy of the
    caller's pci_attach_args and modify the copy.  I have not tested
    this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
	HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
	KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
	TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
	OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:36 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.47: +8 -4 lines
Diff to previous 1.47 (colored)

sync with head

Revision 1.38.10.1.4.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:24:49 2011 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.38.10.1: +8 -4 lines
Diff to previous 1.38.10.1 (colored) next main 1.38.14.1 (colored)

Deal with multifunction pci devices better in choosing companion devices.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Dec 11 17:58:41 2010 UTC (12 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.49: +8 -4 lines
Diff to previous 1.49 (colored)

Make ehci deal with pci devices that have multiple companion functions and
ehci functions.  We can't assume that there will only be one ehci per device.
The existing code could not deal with:

Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 0 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 1 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 2 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 3 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 4 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 5 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 6 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 7 not configured

Revision 1.49 / (download) - annotate - [select for diffs], Tue May 25 08:37:10 2010 UTC (12 years, 8 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
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Mon May 24 20:29:49 2010 UTC (12 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

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

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:32 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.38.16.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:39 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.38.16.1: +2 -2 lines
Diff to previous 1.38.16.1 (colored)

sync to netbsd-5

Revision 1.37.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:43 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.3: +8 -8 lines
Diff to previous 1.37.4.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:59 2010 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (13 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

Expand PMF_FN_* macros.

Revision 1.38.14.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:57 2009 UTC (13 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38.14.1: +82 -2 lines
Diff to previous 1.38.14.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:23 2009 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.2: +82 -2 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored)

sync with head

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Wed Jun 17 20:33:39 2009 UTC (13 years, 7 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base
Branch point for: matt-nb5-pq3
Changes since 1.38: +82 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by cegger in ticket #814):
	sys/dev/pci/ehci_pci.c: revision 1.45
Apply hw workaround required for all SB600 revisions and SB700 revisions
A12 and A13 to avoid USB subsystem hang symptom. The USB subsystem hang
symptom is observed when the system has multiple USB devices connected to it
or one USB device is often re-connected. In some cases a USB hub may be
required to observe this symptom.
This patch works around the problem by correcting the internal register setting
that will help by changing the behavior of the internal logic to avoid the
USB subsystem hang issue. The change in the behavior of the logic does not
impact the normal operation of the USB subsystem.
This fix has been discussed, developped, reviewed, polished up
and tested on current-users by several people. Thread starts at:
http://mail-index.netbsd.org/current-users/2009/05/17/msg009460.html

Revision 1.38.16.1 / (download) - annotate - [select for diffs], Wed Jun 17 20:33:36 2009 UTC (13 years, 7 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.38: +82 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by cegger in ticket #814):
	sys/dev/pci/ehci_pci.c: revision 1.45
Apply hw workaround required for all SB600 revisions and SB700 revisions
A12 and A13 to avoid USB subsystem hang symptom. The USB subsystem hang
symptom is observed when the system has multiple USB devices connected to it
or one USB device is often re-connected. In some cases a USB hub may be
required to observe this symptom.
This patch works around the problem by correcting the internal register setting
that will help by changing the behavior of the internal logic to avoid the
USB subsystem hang issue. The change in the behavior of the logic does not
impact the normal operation of the USB subsystem.
This fix has been discussed, developped, reviewed, polished up
and tested on current-users by several people. Thread starts at:
http://mail-index.netbsd.org/current-users/2009/05/17/msg009460.html

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jun 15 09:18:45 2009 UTC (13 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.44: +82 -2 lines
Diff to previous 1.44 (colored)

Apply hw workaround required for all SB600 revisions and SB700 revisions
A12 and A13 to avoid USB subsystem hang symptom. The USB subsystem hang
symptom is observed when the system has multiple USB devices connected to it
or one USB device is often re-connected. In some cases a USB hub may be
required to observe this symptom.

This patch works around the problem by correcting the internal register setting
that will help by changing the behavior of the internal logic to avoid the
USB subsystem hang issue. The change in the behavior of the logic does not
impact the normal operation of the USB subsystem.

This fix has been discussed, developped, reviewed, polished up
and tested on current-users by several people. Thread starts at:
http://mail-index.netbsd.org/current-users/2009/05/17/msg009460.html

Revision 1.38.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:23 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38: +54 -32 lines
Diff to previous 1.38 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:55 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.1: +54 -32 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)

sync with head.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.38: +54 -32 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Apr 26 09:47:31 2009 UTC (13 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

u_intNN_t -> uintNN_t

Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 26 09:12:33 2009 UTC (13 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.42: +36 -19 lines
Diff to previous 1.42 (colored)

- Fix error handling in attachment
- use aprint_*_dev

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 17 20:32:27 2009 UTC (13 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

appease gcc

Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 17 19:44:13 2009 UTC (13 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.40: +9 -10 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:21:31 2009 UTC (13 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.39: +8 -2 lines
Diff to previous 1.39 (colored)

Disable interrupts on the h/w before detaching the interrupt
handler.  Protects against the problem described in
<http://mail-index.netbsd.org/port-i386/2009/04/10/msg001317.html>,
Xintr_ioapic_levelN jumps to 0 during shutdown.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 7 18:25:26 2009 UTC (13 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Detach ehci(4) and uhci(4) at shutdown.

Revision 1.34.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:37 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.34.6.1: +0 -7 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.37: +2 -9 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37: +2 -9 lines
Diff to previous 1.37 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:54 2008 UTC (14 years, 9 months 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-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, 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, netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.37: +2 -9 lines
Diff to previous 1.37 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:49 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.34: +23 -19 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 28 17:14:45 2008 UTC (14 years, 10 months ago) by drochner
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.36: +13 -11 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.34.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.34: +13 -11 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.30.2.2: +85 -32 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with HEAD

Revision 1.18.2.9 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.8: +4 -3 lines
Diff to previous 1.18.2.8 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Mar 7 22:32:52 2008 UTC (14 years, 11 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: +4 -3 lines
Diff to previous 1.35 (colored)

Use device_t and accessors.  Setup power management in the PCI
front-end (XXX needs to look more alike the Cardbus front-end).
Establish the shutdown hook using PMF.

Revision 1.18.2.8 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:35 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.7: +11 -10 lines
Diff to previous 1.18.2.7 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 22 23:07:12 2008 UTC (14 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.34: +11 -10 lines
Diff to previous 1.34 (colored)

Add a method to detach child.

Cosmetic: use device_t and accessors.  Use aprint_*_dev().  Use
PMF_FN_{ARGS,CALL,PROTO}.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:56 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.31: +81 -27 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.18.2.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:28 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.6: +78 -27 lines
Diff to previous 1.18.2.6 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 28 00:44:17 2008 UTC (15 years ago) by jmcneill
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.33: +75 -31 lines
Diff to previous 1.33 (colored)

Release ownership of EHCI to the BIOS when we suspend or detach the
device driver.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 27 20:09:14 2008 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.32: +26 -19 lines
Diff to previous 1.32 (colored)

Don't attempt to claim ownership from the BIOS if the OS already holds
the HC OS Owned semaphore. Unconditionally clear SMIs as long as the
USB legacy capability is present.

Revision 1.18.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:49 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.5: +12 -39 lines
Diff to previous 1.18.2.5 (colored) to branchpoint 1.18 (colored)

sync with head

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:40 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.30.2.1: +12 -39 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

sync with HEAD

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:46 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.31: +12 -39 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:31:59 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-kmem
Changes since 1.31: +12 -39 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:07 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.31: +12 -39 lines
Diff to previous 1.31 (colored)

Merge jmcneill-pm branch.

Revision 1.29.2.7 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:25 2007 UTC (15 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.29.2.6: +4 -4 lines
Diff to previous 1.29.2.6 (colored) next main 1.30 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:49 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

sync with HEAD

Revision 1.29.2.6 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:23 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29.2.5: +8 -13 lines
Diff to previous 1.29.2.5 (colored)

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

Revision 1.18.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:43 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.4: +3 -3 lines
Diff to previous 1.18.2.4 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.29.2.5 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:58 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29.2.4: +3 -3 lines
Diff to previous 1.29.2.4 (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.30.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:38:55 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.27.6.3 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:52 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.27.6.2: +3 -3 lines
Diff to previous 1.27.6.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

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

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

Revision 1.29.2.4 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:36 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29.2.3: +14 -77 lines
Diff to previous 1.29.2.3 (colored)

Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.

Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.

Reimplement the generic PCI network device handling on
top of PCI generic power handling.

Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.

Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:47 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.3: +23 -9 lines
Diff to previous 1.18.2.3 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:29 2007 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Tue Aug 21 06:37:02 2007 UTC (15 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.29.2.2: +3 -3 lines
Diff to previous 1.29.2.2 (colored)

Disable interrupts etc before saving the config space and reenable them
afterwards. This fixes resume on my Thinkpad R52.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:08 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.27.6.1: +19 -9 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored)

Sync with HEAD.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:28 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.28: +19 -9 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:10 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.29.2.1: +10 -3 lines
Diff to previous 1.29.2.1 (colored)

Sync with HEAD.

Revision 1.30.8.2 / (download) - annotate - [select for diffs], Sat Aug 4 10:36:07 2007 UTC (15 years, 6 months ago) by tsutsui
Branch: matt-mips64
Changes since 1.30.8.1: +362 -0 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

ATI's ehci also requires EHCIF_DROPPED_INTR_WORKAROUND. From FreeBSD.

Revision 1.30.8.1, Sat Aug 4 10:36:06 2007 UTC (15 years, 6 months ago) by tsutsui
Branch: matt-mips64
Changes since 1.30: +0 -362 lines
FILE REMOVED

file ehci_pci.c was added on branch matt-mips64 on 2007-08-04 10:36:07 +0000

Revision 1.30 / (download) - annotate - [select for diffs], Sat Aug 4 10:36:06 2007 UTC (15 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: matt-mips64, matt-armv6, bouyer-xenamd64
Changes since 1.29: +10 -3 lines
Diff to previous 1.29 (colored)

ATI's ehci also requires EHCIF_DROPPED_INTR_WORKAROUND. From FreeBSD.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:19 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.29: +66 -25 lines
Diff to previous 1.29 (colored)

Pull in power management changes from private branch.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 1 10:39:43 2007 UTC (15 years, 6 months ago) by christos
Branch: MAIN
Branch point for: jmcneill-pm
Changes since 1.28: +11 -8 lines
Diff to previous 1.28 (colored)

Establish powerhooks in the proper order. From Anon Ymous

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:34 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored)

Sync with head.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:27 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jul 9 09:59:34 2007 UTC (15 years, 7 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.26: +6 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #760):
	sys/dev/pci/ehci_pci.c: revision 1.28
If the USB legacy capability flag is not set, we mistakenly attempt to
clear it anyway by writing to PCI configuration register 0x00.
Instead, if this flag is not set, simply bail out from ehci_get_ownership.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 8 18:22:28 2007 UTC (15 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment
Changes since 1.27: +6 -2 lines
Diff to previous 1.27 (colored)

If the USB legacy capability flag is not set, we mistakenly attempt to
clear it anyway by writing to PCI configuration register 0x00. Instead,
if this flag is not set, simply bail out from ehci_get_ownership.

Revision 1.27.14.1 / (download) - annotate - [select for diffs], Tue May 22 14:57:33 2007 UTC (15 years, 8 months ago) by itohy
Branch: itohy-usb1
Changes since 1.27: +16 -16 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Overhaul of USB stack, mostly DMA related

This applies to NetBSD 4.99.13 (March 1, 2007)

usbdi(9) interface is based on FreeBSD version, excluding
 - removal of portability code

Patch most NetBSD changes, excluding
 - DMA memory "reserve", since we don't need contiguous buffers any longer
 - volatiles in DMA structure, since it should not be needed
   with proper bus_dmamap_sync(9)s

DMA/non-DMA memory management overhaul
 - Move all DMA related code to usb_mem.[ch]
   (add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.).
   XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ?
 - Add corresponding non-DMA code to usb_mem_nodma.[ch] .
   Currently just use malloc(9).
 - Above files are conditionally used by config framework (added
   attributes to conf/files and dev/usb/files.usb).
 - Add diagnostic panics when resource allocation is requested
   on interrupt context.
 - Change memory allocations (that require context) from NOWAIT to WAITOK.

Allocate DMA/non-DMA buffer per host interface, not globally.
 advantage:	Buffers can be freed on detaching host interface.
		Activity of a host interface does not affect others.
 disadvantages:	It possibly consumes more memory.

API changes
 - usbd_alloc_xfer() is changed:
    old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev);
    new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev,
		usbd_pipe_handle pipe);
 - pipe argument of usbd_setup_*xfer() are now unused
   XXX the pipe argument should be removed?
 - add mapping APIs
 - async request will be processed as a task (kernel thread context),
   and delayed to some extent
 - usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer"
   (mapped/allocated/refered buffer for HCI driver)
 - usb_port.h: change usb_proc_ptr from  struct ptoc *  to struct lwp *
 - usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *)
 - usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0

changes to USB device drivers
 - atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url,
   uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio,
   uscanner, ustir, utoppy:
    * catch up API change of usbd_alloc_xfer()
 - umass, usscanner:
    * catch up API change of usbd_alloc_xfer()
    * eliminate memory copy for large transfer

ohci
 - free resources on detach
 - add lots of bus_dmamap_sync() operations
 - simplify the code of loading std chain
 - rewrite code of looking up TD/ITD from DMA addr by using allocation chunk
 - add workaround for CMD Tech 670 and 673 chipsets
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

slhci
 - allocate xfer and slhci_xfer at once, and simplify relevant code
 - add slhci_detach()
 - remove second arg of slhci_attach() since it is the same as the first arg.
 - add support for "mapping" (no, it doesn't map since it doesn't do DMA)
   buffer and mbuf
 - add pcmcia frontend
 - NOT TESTED, missing hardware

ehci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf
 - done only simple test

uhci
 - add lots of bus_dmamap_sync() operations, possibly too many
 - make sure resources are not allocated in interrupt context
 - add support for mapping buffer and mbuf

To do
 - review, test, debug
 - rewrite network drivers to utilize usbd_map_buffer_mbuf()
 - rewrite uaudio(4) to eliminate memcpy
 - "pipe" argument of usbd_setup_*xfer() should eventually be removed

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:23 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.2: +4 -4 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:27 2007 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, itohy-usb1-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans, itohy-usb1
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Merge newlock2 to head.

Revision 1.23.10.2 / (download) - annotate - [select for diffs], Tue Feb 6 13:32:31 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.23.10.1: +4 -4 lines
Diff to previous 1.23.10.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Quiten noisy boot messages.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:43 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.2.1: +6 -4 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.23.12.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:42 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23.12.1: +4 -4 lines
Diff to previous 1.23.12.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.23: +6 -4 lines
Diff to previous 1.23 (colored)

Sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

__unused removal on arguments; approved by core.

Revision 1.23.12.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored)

sync with head

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

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

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.22: +39 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18: +127 -2 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:13 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.22: +39 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:33 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.22: +39 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.22: +39 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 10 17:21:20 2006 UTC (16 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.22: +39 -2 lines
Diff to previous 1.22 (colored)

On suspend, capture PCI configuration registers. On resume, restore them
as well as explicitly reclaiming ownership of the UHCI/EHCI from the BIOS.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:09 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sun Jan 22 13:52:51 2006 UTC (17 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.17.2.1: +7 -2 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #1123):
	sys/dev/usb/ehcivar.h: revision 1.23
	sys/dev/pci/ehci_pci.c: revision 1.22
	sys/dev/usb/ehci.c: revision 1.108
From OpenBSD:

--
Add a workaround for VIA EHCI controllers which, under load, signal qTD
completion before they have performed writeback from the overlay qTD.
This condition would exhibit itself as a umass stall that never
recovers.
--

This fixes the problem reported by Thomas Klausner on current-users@:
http://mail-index.netbsd.org/current-users/2006/01/17/0000.html

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 17 12:30:00 2006 UTC (17 years ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.21: +7 -2 lines
Diff to previous 1.21 (colored)

From OpenBSD:

--
Add a workaround for VIA EHCI controllers which, under load, signal qTD
completion before they have performed writeback from the overlay qTD.

This condition would exhibit itself as a umass stall that never recovers.
--

This fixes the problem reported by Thomas Klausner on current-users@:
http://mail-index.netbsd.org/current-users/2006/01/17/0000.html

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:57 2005 UTC (17 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.13.2.5: +85 -2 lines
Diff to previous 1.13.2.5 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Dec 7 19:15:05 2005 UTC (17 years, 2 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.17: +89 -10 lines
Diff to previous 1.17 (colored)

Pull up following revision(s) (requested by gendalia in ticket #1034):
	sys/dev/pci/ehci_pci.c: revisions 1.18-1.21
	sys/dev/usb/ehcireg.h: revisions 1.22-1.23
Go through the prescribed process to get ownership of the controller from
BIOS before we start using it.
This seems to fix the problems some people have been experiencing with
keyboards not working.

Pull up additional code formatting, debugging, and a few #defines.
Fixes PR#32249.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:11 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
Changes since 1.18: +85 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 20 18:44:56 2005 UTC (17 years, 2 months ago) by augustss
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

Print an error message if we cannot located the legacy capability.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 20 18:42:43 2005 UTC (17 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.19: +7 -6 lines
Diff to previous 1.19 (colored)

Make debug printout a little nicer.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 20 14:46:23 2005 UTC (17 years, 2 months ago) by augustss
Branch: MAIN
Changes since 1.18: +81 -2 lines
Diff to previous 1.18 (colored)

Go through the prescribed process to get ownership of the controller from
BIOS before we start using it.
This seems to fix the problems some people have been experiencing with
keyboards not working.

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.4: +8 -12 lines
Diff to previous 1.13.2.4 (colored) to branchpoint 1.13 (colored)

Sync with HEAD. Here we go again...

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (17 years, 7 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-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.17: +8 -12 lines
Diff to previous 1.17 (colored)

Use ANSI function decls and static.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with -current

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

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

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:17 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.3: +4 -4 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

nuke trailing whitespace

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:01 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.2: +2 -2 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

Fix the sync with head I botched.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:03 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.1: +2 -2 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:06 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13: +8 -9 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 2 18:43:38 2004 UTC (18 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:06 2004 UTC (18 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

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

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

sprintf -> snprintf

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 31 00:07:41 2003 UTC (20 years 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
Branch point for: ktrace-lwp
Changes since 1.12: +14 -11 lines
Diff to previous 1.12 (colored)

Use aprint_*().

Revision 1.3.4.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:00 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.4.4: +2 -4 lines
Diff to previous 1.3.4.4 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Catch up to -current.

Revision 1.3.6.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:33 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.6.3: +4 -6 lines
Diff to previous 1.3.6.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (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.12 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:11 2002 UTC (20 years, 4 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
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add trailing ; to CFATTACH_DECL.

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

Use CFATTACH_DECL().

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:54 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Declare all cfattach structures const.

Revision 1.3.6.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:11 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.6.2: +3 -3 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored)

sync kqueue branch with HEAD

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:38 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

catch up with -current.

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Tue Aug 27 23:46:48 2002 UTC (20 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.3: +3 -3 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 22 02:54:18 2002 UTC (20 years, 5 months ago) by augustss
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix an error message.

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:12 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.6.1: +3 -3 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored)

Catch up with -current.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:58 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.2: +3 -3 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 14 21:58:30 2002 UTC (20 years, 11 months ago) by augustss
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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use the correct years for copyright.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Fri Jan 11 23:39:17 2002 UTC (21 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.1: +2 -21 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

More catchup.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:31 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.3: +38 -10 lines
Diff to previous 1.3 (colored)

Sync kqueue branch with -current.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 9 22:56:22 2002 UTC (21 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.6: +2 -21 lines
Diff to previous 1.6 (colored)

Split out some code so you can have cardbus ehci without pci.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:12 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +57 -10 lines
Diff to previous 1.3 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:42 2001 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

add RCSID

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:13 2001 UTC (21 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.3: +54 -10 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 10 17:07:21 2001 UTC (21 years, 3 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.4: +28 -3 lines
Diff to previous 1.4 (colored)

Fill the companion controller array.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 6 03:17:36 2001 UTC (21 years, 3 months ago) by augustss
Branch: MAIN
Changes since 1.3: +29 -10 lines
Diff to previous 1.3 (colored)

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

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:03 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.2.1: +197 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.2.1, Thu Dec 28 22:59:12 2000 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +0 -197 lines
FILE REMOVED

file ehci_pci.c was added on branch thorpej_scsipi on 2001-01-05 17:36:03 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:12 2000 UTC (22 years, 1 month 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_scsipi, thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Sun Dec 24 06:42:34 2000 UTC (22 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Even stubs need improvements.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 24 06:39:02 2000 UTC (22 years, 1 month ago) by augustss
Branch: MAIN

Add some placeholders for the EHCI (USB 2) driver.

Don't get your hopes up.  I've not even finished reading the
(100+) page spec, and I have no hardware.

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>