Changeset View
Changeset View
Standalone View
Standalone View
stand/usb/storage/umass_loader.c
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | struct devsw umass_disk = { | ||||
.dv_init = umass_disk_init, | .dv_init = umass_disk_init, | ||||
.dv_strategy = umass_disk_strategy, | .dv_strategy = umass_disk_strategy, | ||||
.dv_open = umass_disk_open, | .dv_open = umass_disk_open, | ||||
.dv_close = umass_disk_close, | .dv_close = umass_disk_close, | ||||
.dv_ioctl = umass_disk_ioctl, | .dv_ioctl = umass_disk_ioctl, | ||||
.dv_print = umass_disk_print, | .dv_print = umass_disk_print, | ||||
.dv_cleanup = umass_disk_cleanup, | .dv_cleanup = umass_disk_cleanup, | ||||
.dv_fmtdev = disk_fmtdev, | .dv_fmtdev = disk_fmtdev, | ||||
.dv_parsedev = disk_parsedev, | |||||
}; | }; | ||||
static int | static int | ||||
umass_disk_init(void) | umass_disk_init(void) | ||||
{ | { | ||||
uint32_t time; | uint32_t time; | ||||
usb_init(); | usb_init(); | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |