Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/libi386/biosdisk.c
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | struct devsw bioshd = { | ||||
.dv_init = bd_init, | .dv_init = bd_init, | ||||
.dv_strategy = bd_strategy, | .dv_strategy = bd_strategy, | ||||
.dv_open = bd_open, | .dv_open = bd_open, | ||||
.dv_close = bd_close, | .dv_close = bd_close, | ||||
.dv_ioctl = bd_ioctl, | .dv_ioctl = bd_ioctl, | ||||
.dv_print = bd_print, | .dv_print = bd_print, | ||||
.dv_cleanup = nullsys, | .dv_cleanup = nullsys, | ||||
.dv_fmtdev = disk_fmtdev, | .dv_fmtdev = disk_fmtdev, | ||||
.dv_parsedev = disk_parsedev, | |||||
}; | }; | ||||
static bdinfo_list_t * | static bdinfo_list_t * | ||||
bd_get_bdinfo_list(struct devsw *dev) | bd_get_bdinfo_list(struct devsw *dev) | ||||
{ | { | ||||
if (dev->dv_type == DEVT_DISK) | if (dev->dv_type == DEVT_DISK) | ||||
return (&hdinfo); | return (&hdinfo); | ||||
if (dev->dv_type == DEVT_CD) | if (dev->dv_type == DEVT_CD) | ||||
▲ Show 20 Lines • Show All 1,170 Lines • Show Last 20 Lines |