Commit Graph

9 Commits

Author SHA1 Message Date
hselasky
7076389cec Implement better support for USB controller suspend and resume.
This patch should remove the need for kldunload of USB
controller drivers at suspend and kldload of USB controller
drivers at resume.

This patch also fixes some build issues in avr32dci.c

MFC after:	2 weeks
2011-12-14 00:28:54 +00:00
hselasky
53a216b722 Rename device_delete_all_children() into device_delete_children().
Suggested by:	jhb @ and marius @
MFC after:	1 week
2011-11-22 21:56:55 +00:00
marius
17e14c6132 - There's no need to overwrite the default device method with the default
one. Interestingly, these are actually the default for quite some time
  (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9)
  since r52045) but even recently added device drivers do this unnecessarily.
  Discussed with: jhb, marcel
- While at it, use DEVMETHOD_END.
  Discussed with: jhb
- Also while at it, use __FBSDID.
2011-11-22 21:28:20 +00:00
kevlo
827f99272d Remove duplicate header includes 2011-06-26 10:07:48 +00:00
gonzo
8b6644df46 - include register definitions for respective controllers 2009-11-12 20:48:04 +00:00
gonzo
b92ba62a62 - Make USB part of AR71XX kernel buildable again 2009-07-30 23:54:00 +00:00
gonzo
f5a7a5d71c Fix USB2 quick'n'dirty porting, now system successfully detects OHCI 2009-04-15 05:37:17 +00:00
gonzo
fe4d4350d4 - Port AR71XX OHCI controller to new USB stack 2009-04-15 03:04:33 +00:00
gonzo
821d317cbe - Revert changes accidentally killed by merge operation 2009-04-14 22:53:22 +00:00