1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays

Reviewed by:	cognet
Approved by:	cognet
This commit is contained in:
Sofian Brabez 2013-01-30 18:01:20 +00:00
parent 8caedc2a57
commit 61bfd86762
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246128
85 changed files with 120 additions and 89 deletions

View File

@ -304,7 +304,8 @@ static device_method_t acpi_asus_wmi_methods[] = {
DEVMETHOD(device_probe, acpi_asus_wmi_probe),
DEVMETHOD(device_attach, acpi_asus_wmi_attach),
DEVMETHOD(device_detach, acpi_asus_wmi_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_asus_wmi_driver = {

View File

@ -154,7 +154,8 @@ static device_method_t acpi_fujitsu_methods[] = {
DEVMETHOD(device_detach, acpi_fujitsu_detach),
DEVMETHOD(device_suspend, acpi_fujitsu_suspend),
DEVMETHOD(device_resume, acpi_fujitsu_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_fujitsu_driver = {

View File

@ -324,7 +324,8 @@ static device_method_t acpi_hp_methods[] = {
DEVMETHOD(device_probe, acpi_hp_probe),
DEVMETHOD(device_attach, acpi_hp_attach),
DEVMETHOD(device_detach, acpi_hp_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_hp_driver = {

View File

@ -303,7 +303,7 @@ static device_method_t acpi_ibm_methods[] = {
DEVMETHOD(device_detach, acpi_ibm_detach),
DEVMETHOD(device_resume, acpi_ibm_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_ibm_driver = {

View File

@ -118,7 +118,7 @@ static device_method_t acpi_panasonic_methods[] = {
DEVMETHOD(device_detach, acpi_panasonic_detach),
DEVMETHOD(device_shutdown, acpi_panasonic_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_panasonic_driver = {

View File

@ -95,7 +95,7 @@ static device_method_t acpi_sony_methods[] = {
DEVMETHOD(device_attach, acpi_sony_attach),
DEVMETHOD(device_detach, acpi_sony_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_sony_driver = {

View File

@ -172,7 +172,7 @@ static device_method_t acpi_toshiba_methods[] = {
DEVMETHOD(device_attach, acpi_toshiba_attach),
DEVMETHOD(device_detach, acpi_toshiba_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_toshiba_driver = {
@ -190,7 +190,7 @@ static device_method_t acpi_toshiba_video_methods[] = {
DEVMETHOD(device_probe, acpi_toshiba_video_probe),
DEVMETHOD(device_attach, acpi_toshiba_video_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_toshiba_video_driver = {

View File

@ -217,7 +217,7 @@ static device_method_t acpi_methods[] = {
/* ISA emulation */
DEVMETHOD(isa_pnp_probe, acpi_isa_pnp_probe),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_driver = {

View File

@ -74,7 +74,7 @@ static device_method_t acpi_acad_methods[] = {
DEVMETHOD(device_probe, acpi_acad_probe),
DEVMETHOD(device_attach, acpi_acad_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_acad_driver = {

View File

@ -79,8 +79,7 @@ static device_method_t acpi_button_methods[] = {
DEVMETHOD(device_suspend, acpi_button_suspend),
DEVMETHOD(device_shutdown, acpi_button_suspend),
DEVMETHOD(device_resume, acpi_button_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_button_driver = {

View File

@ -99,7 +99,7 @@ static device_method_t acpi_cmbat_methods[] = {
DEVMETHOD(acpi_batt_get_info, acpi_cmbat_bif),
DEVMETHOD(acpi_batt_get_status, acpi_cmbat_bst),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_cmbat_driver = {

View File

@ -521,7 +521,7 @@ static device_method_t acpi_dock_methods[] = {
DEVMETHOD(device_probe, acpi_dock_probe),
DEVMETHOD(device_attach, acpi_dock_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_dock_driver = {

View File

@ -253,7 +253,7 @@ static device_method_t acpi_ec_methods[] = {
DEVMETHOD(acpi_ec_read, acpi_ec_read_method),
DEVMETHOD(acpi_ec_write, acpi_ec_write_method),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_ec_driver = {

View File

@ -849,7 +849,7 @@ static device_method_t hpet_methods[] = {
DEVMETHOD(bus_remap_intr, hpet_remap_intr),
#endif
{0, 0}
DEVMETHOD_END
};
static driver_t hpet_driver = {

View File

@ -69,7 +69,7 @@ static device_method_t acpi_lid_methods[] = {
DEVMETHOD(device_suspend, acpi_lid_suspend),
DEVMETHOD(device_resume, acpi_lid_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_lid_driver = {

View File

@ -94,7 +94,7 @@ static device_method_t acpi_pci_methods[] = {
/* PCI interface */
DEVMETHOD(pci_set_powerstate, acpi_pci_set_powerstate_method),
{ 0, 0 }
DEVMETHOD_END
};
static devclass_t pci_devclass;

View File

@ -1097,7 +1097,7 @@ static device_method_t acpi_pci_link_methods[] = {
DEVMETHOD(device_attach, acpi_pci_link_attach),
DEVMETHOD(device_resume, acpi_pci_link_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_pci_link_driver = {

View File

@ -83,7 +83,7 @@ static device_method_t acpi_pcib_pci_methods[] = {
DEVMETHOD(pcib_route_interrupt, acpi_pcib_pci_route_interrupt),
DEVMETHOD(pcib_power_for_sleep, acpi_pcib_power_for_sleep),
{0, 0}
DEVMETHOD_END
};
static devclass_t pcib_devclass;

View File

@ -122,7 +122,8 @@ static device_method_t acpi_perf_methods[] = {
DEVMETHOD(cpufreq_drv_get, acpi_px_get),
DEVMETHOD(cpufreq_drv_type, acpi_px_type),
DEVMETHOD(cpufreq_drv_settings, acpi_px_settings),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_perf_driver = {

View File

@ -615,7 +615,7 @@ static device_method_t acpi_sysres_methods[] = {
DEVMETHOD(device_probe, acpi_sysres_probe),
DEVMETHOD(device_attach, acpi_sysres_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_sysres_driver = {

View File

@ -89,7 +89,7 @@ static device_method_t acpi_smbat_methods[] = {
DEVMETHOD(acpi_batt_get_status, acpi_smbat_get_bst),
DEVMETHOD(acpi_batt_get_info, acpi_smbat_get_bif),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_smbat_driver = {

View File

@ -152,7 +152,7 @@ static device_method_t acpi_tz_methods[] = {
DEVMETHOD(device_probe, acpi_tz_probe),
DEVMETHOD(device_attach, acpi_tz_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_tz_driver = {

View File

@ -114,7 +114,7 @@ static device_method_t acpi_throttle_methods[] = {
DEVMETHOD(cpufreq_drv_get, acpi_thr_get),
DEVMETHOD(cpufreq_drv_type, acpi_thr_type),
DEVMETHOD(cpufreq_drv_settings, acpi_thr_settings),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_throttle_driver = {

View File

@ -82,7 +82,7 @@ static device_method_t acpi_timer_methods[] = {
DEVMETHOD(device_probe, acpi_timer_probe),
DEVMETHOD(device_attach, acpi_timer_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t acpi_timer_driver = {

View File

@ -407,7 +407,8 @@ static device_method_t adlink_methods[] = {
DEVMETHOD(device_suspend, bus_generic_suspend),
DEVMETHOD(device_resume, bus_generic_resume),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t adlink_driver = {

View File

@ -139,7 +139,7 @@ static device_method_t amdsbwd_methods[] = {
#if 0
DEVMETHOD(device_shutdown, amdsbwd_detach),
#endif
{0, 0}
DEVMETHOD_END
};
static devclass_t amdsbwd_devclass;

View File

@ -134,7 +134,7 @@ static device_method_t amdtemp_methods[] = {
DEVMETHOD(device_attach, amdtemp_attach),
DEVMETHOD(device_detach, amdtemp_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t amdtemp_driver = {

View File

@ -131,7 +131,8 @@ static device_method_t auxio_sbus_methods[] = {
DEVMETHOD(device_probe, auxio_bus_probe),
DEVMETHOD(device_attach, auxio_sbus_attach),
DEVMETHOD(device_detach, auxio_bus_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t auxio_sbus_driver = {
@ -151,7 +152,8 @@ static device_method_t auxio_ebus_methods[] = {
DEVMETHOD(device_probe, auxio_bus_probe),
DEVMETHOD(device_attach, auxio_ebus_attach),
DEVMETHOD(device_detach, auxio_bus_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t auxio_ebus_driver = {

View File

@ -145,7 +145,7 @@ static device_method_t ce_methods[] = {
DEVMETHOD(device_attach, ce_attach),
DEVMETHOD(device_detach, ce_detach),
{0, 0}
DEVMETHOD_END
};
typedef struct _ce_dma_mem_t {

View File

@ -51,7 +51,7 @@ static device_method_t cfi_fdt_methods[] = {
DEVMETHOD(device_attach, cfi_attach),
DEVMETHOD(device_detach, cfi_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t cfi_fdt_driver = {

View File

@ -69,7 +69,7 @@ static device_method_t cfi_ixp4xx_methods[] = {
DEVMETHOD(device_attach, cfi_attach),
DEVMETHOD(device_detach, cfi_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t cfi_ixp4xx_driver = {

View File

@ -85,7 +85,7 @@ static device_method_t coretemp_methods[] = {
DEVMETHOD(device_attach, coretemp_attach),
DEVMETHOD(device_detach, coretemp_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t coretemp_driver = {

View File

@ -93,7 +93,7 @@ static device_method_t cp_methods[] = {
DEVMETHOD(device_attach, cp_attach),
DEVMETHOD(device_detach, cp_detach),
{0, 0}
DEVMETHOD_END
};
typedef struct _cp_dma_mem_t {

View File

@ -113,7 +113,7 @@ static device_method_t ichss_methods[] = {
DEVMETHOD(cpufreq_drv_get, ichss_get),
DEVMETHOD(cpufreq_drv_type, ichss_type),
DEVMETHOD(cpufreq_drv_settings, ichss_settings),
{0, 0}
DEVMETHOD_END
};
static driver_t ichss_driver = {
"ichss", ichss_methods, sizeof(struct ichss_softc)

View File

@ -93,7 +93,8 @@ static device_method_t ct_isa_methods [] = {
DEVMETHOD(device_probe, ct_probe),
DEVMETHOD(device_attach, ct_attach),
DEVMETHOD(device_detach, ct_detach),
{0, 0}
DEVMETHOD_END
};
typedef struct _ct_dma_mem_t {

View File

@ -113,7 +113,8 @@ static device_method_t cx_isa_methods [] = {
DEVMETHOD(device_probe, cx_probe),
DEVMETHOD(device_attach, cx_attach),
DEVMETHOD(device_detach, cx_detach),
{0, 0}
DEVMETHOD_END
};
typedef struct _cx_dma_mem_t {

View File

@ -462,7 +462,8 @@ static device_method_t digi_isa_methods[] = {
DEVMETHOD(device_attach, digi_isa_attach),
DEVMETHOD(device_detach, digi_detach),
DEVMETHOD(device_shutdown, digi_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t digi_isa_drv = {

View File

@ -219,7 +219,8 @@ static device_method_t digi_pci_methods[] = {
DEVMETHOD(device_attach, digi_pci_attach),
DEVMETHOD(device_detach, digi_detach),
DEVMETHOD(device_shutdown, digi_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t digi_pci_drv = {

View File

@ -309,7 +309,7 @@ static device_method_t em_methods[] = {
DEVMETHOD(device_shutdown, em_shutdown),
DEVMETHOD(device_suspend, em_suspend),
DEVMETHOD(device_resume, em_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t em_driver = {

View File

@ -294,7 +294,7 @@ static device_method_t igb_methods[] = {
DEVMETHOD(device_shutdown, igb_shutdown),
DEVMETHOD(device_suspend, igb_suspend),
DEVMETHOD(device_resume, igb_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t igb_driver = {

View File

@ -262,7 +262,7 @@ static device_method_t lem_methods[] = {
DEVMETHOD(device_shutdown, lem_shutdown),
DEVMETHOD(device_suspend, lem_suspend),
DEVMETHOD(device_resume, lem_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t lem_driver = {

View File

@ -238,7 +238,7 @@ static device_method_t ep_eisa_methods[] = {
DEVMETHOD(device_attach, ep_eisa_attach),
DEVMETHOD(device_detach, ep_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ep_eisa_driver = {

View File

@ -391,7 +391,7 @@ static device_method_t ep_isa_methods[] = {
DEVMETHOD(device_attach, ep_isa_attach),
DEVMETHOD(device_detach, ep_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ep_isa_driver = {

View File

@ -145,7 +145,7 @@ static device_method_t ep_mca_methods[] = {
DEVMETHOD(device_attach, ep_mca_attach),
DEVMETHOD(device_detach, ep_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ep_mca_driver = {

View File

@ -223,7 +223,7 @@ static device_method_t ep_pccard_methods[] = {
DEVMETHOD(device_attach, ep_pccard_attach),
DEVMETHOD(device_detach, ep_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ep_pccard_driver = {

View File

@ -258,7 +258,7 @@ static device_method_t fdc_acpi_methods[] = {
DEVMETHOD(bus_read_ivar, fdc_read_ivar),
DEVMETHOD(bus_write_ivar, fdc_write_ivar),
{0, 0}
DEVMETHOD_END
};
static driver_t fdc_acpi_driver = {

View File

@ -219,7 +219,7 @@ static device_method_t ad7418_methods[] = {
DEVMETHOD(device_probe, ad7418_probe),
DEVMETHOD(device_attach, ad7418_attach),
{0, 0},
DEVMETHOD_END
};
static driver_t ad7418_driver = {

View File

@ -347,7 +347,7 @@ static device_method_t ds133x_methods[] = {
DEVMETHOD(clock_gettime, ds133x_gettime),
DEVMETHOD(clock_settime, ds133x_settime),
{0, 0},
DEVMETHOD_END
};
static driver_t ds133x_driver = {

View File

@ -167,7 +167,7 @@ static device_method_t ds1672_methods[] = {
DEVMETHOD(clock_gettime, ds1672_gettime),
DEVMETHOD(clock_settime, ds1672_settime),
{0, 0},
DEVMETHOD_END
};
static driver_t ds1672_driver = {

View File

@ -262,7 +262,7 @@ static device_method_t icee_methods[] = {
DEVMETHOD(device_probe, icee_probe),
DEVMETHOD(device_attach, icee_attach),
{0, 0},
DEVMETHOD_END
};
static driver_t icee_driver = {

View File

@ -159,7 +159,8 @@ static device_method_t ixgb_methods[] = {
DEVMETHOD(device_attach, ixgb_attach),
DEVMETHOD(device_detach, ixgb_detach),
DEVMETHOD(device_shutdown, ixgb_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t ixgb_driver = {

View File

@ -216,7 +216,8 @@ static device_method_t ixgbe_methods[] = {
DEVMETHOD(device_attach, ixgbe_attach),
DEVMETHOD(device_detach, ixgbe_detach),
DEVMETHOD(device_shutdown, ixgbe_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t ixgbe_driver = {

View File

@ -169,7 +169,8 @@ static device_method_t ixv_methods[] = {
DEVMETHOD(device_attach, ixv_attach),
DEVMETHOD(device_detach, ixv_detach),
DEVMETHOD(device_shutdown, ixv_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t ixv_driver = {

View File

@ -99,7 +99,8 @@ static device_method_t mfip_methods[] = {
DEVMETHOD(device_probe, mfip_probe),
DEVMETHOD(device_attach, mfip_attach),
DEVMETHOD(device_detach, mfip_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t mfip_driver = {
"mfip",

View File

@ -1418,7 +1418,7 @@ static device_method_t mn_methods[] = {
DEVMETHOD(device_resume, bus_generic_resume),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t mn_driver = {

View File

@ -124,7 +124,8 @@ static device_method_t mxge_methods[] =
DEVMETHOD(device_attach, mxge_attach),
DEVMETHOD(device_detach, mxge_detach),
DEVMETHOD(device_shutdown, mxge_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t mxge_driver =

View File

@ -153,7 +153,7 @@ static device_method_t my_methods[] = {
DEVMETHOD(device_detach, my_detach),
DEVMETHOD(device_shutdown, my_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t my_driver = {

View File

@ -303,7 +303,8 @@ static device_method_t nvram2env_methods[] = {
DEVMETHOD(device_identify, nvram2env_identify),
DEVMETHOD(device_probe, nvram2env_probe),
DEVMETHOD(device_attach, nvram2env_attach),
{0, 0},
DEVMETHOD_END
};
static driver_t nvram2env_driver = {

View File

@ -3507,7 +3507,8 @@ static device_method_t xge_methods[] = {
DEVMETHOD(device_attach, xge_attach),
DEVMETHOD(device_detach, xge_detach),
DEVMETHOD(device_shutdown, xge_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t xge_driver = {

View File

@ -108,7 +108,8 @@ static device_method_t oce_dispatch[] = {
DEVMETHOD(device_attach, oce_attach),
DEVMETHOD(device_detach, oce_detach),
DEVMETHOD(device_shutdown, oce_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t oce_driver = {

View File

@ -426,7 +426,7 @@ static device_method_t sdhci_methods[] = {
DEVMETHOD(sdhci_write_4, sdhci_pci_write_4),
DEVMETHOD(sdhci_write_multi_4, sdhci_pci_write_multi_4),
{0, 0},
DEVMETHOD_END
};
static driver_t sdhci_pci_driver = {

View File

@ -239,7 +239,7 @@ static device_method_t emu_midi_methods[] = {
DEVMETHOD(device_attach, emu_midi_attach),
DEVMETHOD(device_detach, emu_midi_detach),
{0, 0},
DEVMETHOD_END
};
static driver_t emu_midi_driver = {

View File

@ -1520,7 +1520,8 @@ static device_method_t emu_pcm_methods[] = {
DEVMETHOD(device_probe, emu_pcm_probe),
DEVMETHOD(device_attach, emu_pcm_attach),
DEVMETHOD(device_detach, emu_pcm_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t emu_pcm_driver = {

View File

@ -3529,7 +3529,7 @@ static device_method_t emu_methods[] = {
DEVMETHOD(bus_read_ivar, emu_read_ivar),
DEVMETHOD(bus_write_ivar, emu_write_ivar),
{0, 0}
DEVMETHOD_END
};

View File

@ -231,7 +231,8 @@ static device_method_t cs4231_sbus_methods[] = {
DEVMETHOD(device_detach, cs4231_bus_detach),
DEVMETHOD(device_suspend, cs4231_bus_suspend),
DEVMETHOD(device_resume, cs4231_bus_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t cs4231_sbus_driver = {
@ -249,7 +250,8 @@ static device_method_t cs4231_ebus_methods[] = {
DEVMETHOD(device_detach, cs4231_bus_detach),
DEVMETHOD(device_suspend, cs4231_bus_suspend),
DEVMETHOD(device_resume, cs4231_bus_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t cs4231_ebus_driver = {

View File

@ -227,7 +227,7 @@ static device_method_t ua_pcm_methods[] = {
DEVMETHOD(device_attach, ua_attach),
DEVMETHOD(device_detach, ua_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ua_pcm_driver = {

View File

@ -114,7 +114,8 @@ static device_method_t usb_methods[] = {
DEVMETHOD(device_suspend, usb_suspend),
DEVMETHOD(device_resume, usb_resume),
DEVMETHOD(device_shutdown, usb_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t usb_driver = {

View File

@ -852,7 +852,8 @@ static device_method_t uhid_methods[] = {
DEVMETHOD(device_probe, uhid_probe),
DEVMETHOD(device_attach, uhid_attach),
DEVMETHOD(device_detach, uhid_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t uhid_driver = {

View File

@ -2120,7 +2120,8 @@ static device_method_t ukbd_methods[] = {
DEVMETHOD(device_attach, ukbd_attach),
DEVMETHOD(device_detach, ukbd_detach),
DEVMETHOD(device_resume, ukbd_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t ukbd_driver = {

View File

@ -1039,7 +1039,8 @@ static device_method_t ums_methods[] = {
DEVMETHOD(device_probe, ums_probe),
DEVMETHOD(device_attach, ums_attach),
DEVMETHOD(device_detach, ums_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ums_driver = {

View File

@ -248,7 +248,8 @@ static device_method_t udbp_methods[] = {
DEVMETHOD(device_probe, udbp_probe),
DEVMETHOD(device_attach, udbp_attach),
DEVMETHOD(device_detach, udbp_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t udbp_driver = {

View File

@ -105,7 +105,8 @@ static device_method_t ufm_methods[] = {
DEVMETHOD(device_probe, ufm_probe),
DEVMETHOD(device_attach, ufm_attach),
DEVMETHOD(device_detach, ufm_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ufm_driver = {

View File

@ -237,7 +237,7 @@ static device_method_t cdce_methods[] = {
DEVMETHOD(device_suspend, cdce_suspend),
DEVMETHOD(device_resume, cdce_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t cdce_driver = {

View File

@ -157,7 +157,7 @@ static device_method_t cue_methods[] = {
DEVMETHOD(device_attach, cue_attach),
DEVMETHOD(device_detach, cue_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t cue_driver = {

View File

@ -116,7 +116,7 @@ static device_method_t ipheth_methods[] = {
DEVMETHOD(device_attach, ipheth_attach),
DEVMETHOD(device_detach, ipheth_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t ipheth_driver = {

View File

@ -199,7 +199,7 @@ static device_method_t kue_methods[] = {
DEVMETHOD(device_attach, kue_attach),
DEVMETHOD(device_detach, kue_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t kue_driver = {

View File

@ -1810,7 +1810,7 @@ static device_method_t smsc_methods[] = {
DEVMETHOD(miibus_writereg, smsc_miibus_writereg),
DEVMETHOD(miibus_statchg, smsc_miibus_statchg),
{0, 0}
DEVMETHOD_END
};
static driver_t smsc_driver = {

View File

@ -698,7 +698,8 @@ static device_method_t umass_methods[] = {
DEVMETHOD(device_probe, umass_probe),
DEVMETHOD(device_attach, umass_attach),
DEVMETHOD(device_detach, umass_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t umass_driver = {

View File

@ -185,7 +185,8 @@ static device_method_t urio_methods[] = {
DEVMETHOD(device_probe, urio_probe),
DEVMETHOD(device_attach, urio_attach),
DEVMETHOD(device_detach, urio_detach),
{0, 0}
DEVMETHOD_END
};
static driver_t urio_driver = {

View File

@ -256,7 +256,7 @@ static device_method_t ustorage_fs_methods[] = {
DEVMETHOD(device_suspend, ustorage_fs_suspend),
DEVMETHOD(device_resume, ustorage_fs_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t ustorage_fs_driver = {

View File

@ -113,7 +113,7 @@ static device_method_t usb_linux_methods[] = {
DEVMETHOD(device_suspend, usb_linux_suspend),
DEVMETHOD(device_resume, usb_linux_resume),
{0, 0}
DEVMETHOD_END
};
static driver_t usb_linux_driver = {

View File

@ -177,7 +177,7 @@ static device_method_t vx_eisa_methods[] = {
DEVMETHOD(device_probe, vx_eisa_probe),
DEVMETHOD(device_attach, vx_eisa_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t vx_eisa_driver = {

View File

@ -61,7 +61,7 @@ static device_method_t vx_methods[] = {
DEVMETHOD(device_attach, vx_pci_attach),
DEVMETHOD(device_shutdown, vx_pci_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t vx_driver = {

View File

@ -4188,7 +4188,8 @@ static device_method_t vxge_methods[] = {
DEVMETHOD(device_attach, vxge_attach),
DEVMETHOD(device_detach, vxge_detach),
DEVMETHOD(device_shutdown, vxge_shutdown),
{0, 0}
DEVMETHOD_END
};
static driver_t vxge_driver = {

View File

@ -410,7 +410,8 @@ static device_method_t xc_methods[] = {
DEVMETHOD(device_identify, xc_identify),
DEVMETHOD(device_probe, xc_probe),
DEVMETHOD(device_attach, xc_attach),
{0, 0}
DEVMETHOD_END
};
static driver_t xc_driver = {