Changeset View
Changeset View
Standalone View
Standalone View
stand/uboot/uboot_disk.c
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | struct devsw uboot_storage = { | ||||
.dv_type = DEVT_DISK, | .dv_type = DEVT_DISK, | ||||
.dv_init = stor_init, | .dv_init = stor_init, | ||||
.dv_strategy = stor_strategy, | .dv_strategy = stor_strategy, | ||||
.dv_open = stor_open, | .dv_open = stor_open, | ||||
.dv_close = stor_close, | .dv_close = stor_close, | ||||
.dv_ioctl = stor_ioctl, | .dv_ioctl = stor_ioctl, | ||||
.dv_print = stor_print, | .dv_print = stor_print, | ||||
.dv_cleanup = stor_cleanup, | .dv_cleanup = stor_cleanup, | ||||
.dv_fmtdev = disk_fmtdev, | |||||
}; | }; | ||||
static int | static int | ||||
stor_init(void) | stor_init(void) | ||||
{ | { | ||||
struct device_info *di; | struct device_info *di; | ||||
int i; | int i; | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |