Deleted Added
sdiff udiff text old ( 227309 ) new ( 228483 )
full compact
1#include <sys/cdefs.h>
2__FBSDID("$FreeBSD: head/sys/mips/cavium/usb/octusb.c 227309 2011-11-07 15:43:11Z ed $");
3
4/*-
5 * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

--- 897 unchanged lines hidden (view full) ---

908 cvmx_usb_shutdown(&sc->sc_port[x].state);
909 }
910 USB_BUS_UNLOCK(&sc->sc_bus);
911
912 return (0);
913
914}
915
916void
917octusb_suspend(struct octusb_softc *sc)
918{
919
920}
921
922void
923octusb_resume(struct octusb_softc *sc)
924{
925
926}
927
928/*------------------------------------------------------------------------*
929 * octusb_interrupt - OCTUSB interrupt handler
930 *------------------------------------------------------------------------*/
931void
932octusb_interrupt(struct octusb_softc *sc)
933{

--- 969 unchanged lines hidden (view full) ---

1903}
1904
1905static void
1906octusb_set_hw_power(struct usb_bus *bus)
1907{
1908 DPRINTF("Nothing to do.\n");
1909}
1910
1911struct usb_bus_methods octusb_bus_methods = {
1912 .endpoint_init = octusb_ep_init,
1913 .xfer_setup = octusb_xfer_setup,
1914 .xfer_unsetup = octusb_xfer_unsetup,
1915 .get_dma_delay = octusb_get_dma_delay,
1916 .device_resume = octusb_device_resume,
1917 .device_suspend = octusb_device_suspend,
1918 .set_hw_power = octusb_set_hw_power,
1919 .roothub_exec = octusb_roothub_exec,
1920 .xfer_poll = octusb_do_poll,
1921};