diff options
| author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2002-11-12 13:46:09 +0000 |
|---|---|---|
| committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2002-11-12 13:46:09 +0000 |
| commit | 5e2a411f2d21539b9b3e83244ac96005e3e21ded (patch) | |
| tree | ba77933605d61b21c26d2968df360a3b34c0971c /sys/dev | |
| parent | 98e6731b51d55222aab7dcd8be62bd292d939cd8 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/firewire/fwohci_pci.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 883f913ede4db..dcb6063017ce2 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -288,12 +288,28 @@ fwohci_pci_detach(device_t self) return 0; } +static int +fwohci_pci_suspend(device_t dev) +{ + device_printf(dev, "fwoch_pci_suspend\n"); + return 0; +} + +static int +fwohci_pci_resume(device_t dev) +{ + device_printf(dev, "fwoch_pci_resume\n"); + return 0; +} + static device_method_t fwohci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, fwohci_pci_probe), DEVMETHOD(device_attach, fwohci_pci_attach), DEVMETHOD(device_detach, fwohci_pci_detach), DEVMETHOD(device_shutdown, bus_generic_shutdown), + DEVMETHOD(device_suspend, fwohci_pci_suspend), + DEVMETHOD(device_resume, fwohci_pci_resume), /* Bus interface */ DEVMETHOD(bus_print_child, bus_generic_print_child), |
