Deleted Added
full compact
2c2
< __FBSDID("$FreeBSD: head/sys/mips/cavium/usb/octusb.c 227309 2011-11-07 15:43:11Z ed $");
---
> __FBSDID("$FreeBSD: head/sys/mips/cavium/usb/octusb.c 228483 2011-12-14 00:28:54Z hselasky $");
916c916
< void
---
> static void
919c919
<
---
> /* TODO */
922c922
< void
---
> static void
925c925
<
---
> /* TODO */
1910a1911,1930
> static void
> octusb_set_hw_power_sleep(struct usb_bus *bus, uint32_t state)
> {
> struct octusb_softc *sc = OCTUSB_BUS2SC(bus);
>
> switch (state) {
> case USB_HW_POWER_SUSPEND:
> octusb_suspend(sc);
> break;
> case USB_HW_POWER_SHUTDOWN:
> octusb_uninit(sc);
> break;
> case USB_HW_POWER_RESUME:
> octusb_resume(sc);
> break;
> default:
> break;
> }
> }
>
1918a1939
> .set_hw_power_sleep = octusb_set_hw_power_sleep,