Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/usb/storage/umass_common.c
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | umass_attach(device_t dev) | ||||
struct usb_attach_arg *uaa = device_get_ivars(dev); | struct usb_attach_arg *uaa = device_get_ivars(dev); | ||||
umass_uaa = *uaa; | umass_uaa = *uaa; | ||||
return (0); /* success */ | return (0); /* success */ | ||||
} | } | ||||
static int | static int | ||||
umass_detach(device_t dev) | umass_detach(device_t dev) | ||||
{ | { | ||||
memset(&umass_uaa, 0, sizeof(umass_uaa)); | |||||
hselasky: Can this be left under #ifdef USB_DEBUG
What do you think?
--HPS | |||||
return (0); | return (0); | ||||
} | } |
Can this be left under #ifdef USB_DEBUG
What do you think?
--HPS