diff options
Diffstat (limited to 'sys/dev')
85 files changed, 120 insertions, 89 deletions
diff --git a/sys/dev/acpi_support/acpi_asus_wmi.c b/sys/dev/acpi_support/acpi_asus_wmi.c index 9e2a498..54a2893 100644 --- a/sys/dev/acpi_support/acpi_asus_wmi.c +++ b/sys/dev/acpi_support/acpi_asus_wmi.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_fujitsu.c b/sys/dev/acpi_support/acpi_fujitsu.c index 2455b50..6f96bc5 100644 --- a/sys/dev/acpi_support/acpi_fujitsu.c +++ b/sys/dev/acpi_support/acpi_fujitsu.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_hp.c b/sys/dev/acpi_support/acpi_hp.c index edc04b7..c190166 100644 --- a/sys/dev/acpi_support/acpi_hp.c +++ b/sys/dev/acpi_support/acpi_hp.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index 46a985e..4160112 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_panasonic.c b/sys/dev/acpi_support/acpi_panasonic.c index ad8b239..2542b0c 100644 --- a/sys/dev/acpi_support/acpi_panasonic.c +++ b/sys/dev/acpi_support/acpi_panasonic.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_sony.c b/sys/dev/acpi_support/acpi_sony.c index 2a0d40e..95e7b4f 100644 --- a/sys/dev/acpi_support/acpi_sony.c +++ b/sys/dev/acpi_support/acpi_sony.c @@ -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 = { diff --git a/sys/dev/acpi_support/acpi_toshiba.c b/sys/dev/acpi_support/acpi_toshiba.c index 343d3ae..9e3dc5b 100644 --- a/sys/dev/acpi_support/acpi_toshiba.c +++ b/sys/dev/acpi_support/acpi_toshiba.c @@ -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 = { diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index b5ce09f..086ea26 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_acad.c b/sys/dev/acpica/acpi_acad.c index 8153abc..4c9dc19 100644 --- a/sys/dev/acpica/acpi_acad.c +++ b/sys/dev/acpica/acpi_acad.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_button.c b/sys/dev/acpica/acpi_button.c index d1f774a..72bf5b1 100644 --- a/sys/dev/acpica/acpi_button.c +++ b/sys/dev/acpica/acpi_button.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index ba44da8..be57a32 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_dock.c b/sys/dev/acpica/acpi_dock.c index b184053..d27b4bd 100644 --- a/sys/dev/acpica/acpi_dock.c +++ b/sys/dev/acpica/acpi_dock.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c index 00a3073..6e2f0dd 100644 --- a/sys/dev/acpica/acpi_ec.c +++ b/sys/dev/acpica/acpi_ec.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_hpet.c b/sys/dev/acpica/acpi_hpet.c index 4b0c356..c00bda4 100644 --- a/sys/dev/acpica/acpi_hpet.c +++ b/sys/dev/acpica/acpi_hpet.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_lid.c b/sys/dev/acpica/acpi_lid.c index d84e3c9..dcdd2e6 100644 --- a/sys/dev/acpica/acpi_lid.c +++ b/sys/dev/acpica/acpi_lid.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_pci.c b/sys/dev/acpica/acpi_pci.c index 185731a..39fba88 100644 --- a/sys/dev/acpica/acpi_pci.c +++ b/sys/dev/acpica/acpi_pci.c @@ -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; diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c index ba03d72..1a1ae4d 100644 --- a/sys/dev/acpica/acpi_pci_link.c +++ b/sys/dev/acpica/acpi_pci_link.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_pcib_pci.c b/sys/dev/acpica/acpi_pcib_pci.c index 7dbccd6..de26a4a 100644 --- a/sys/dev/acpica/acpi_pcib_pci.c +++ b/sys/dev/acpica/acpi_pcib_pci.c @@ -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; diff --git a/sys/dev/acpica/acpi_perf.c b/sys/dev/acpica/acpi_perf.c index 3f047cc..d95cc79 100644 --- a/sys/dev/acpica/acpi_perf.c +++ b/sys/dev/acpica/acpi_perf.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_resource.c b/sys/dev/acpica/acpi_resource.c index ce6732f..0878d96 100644 --- a/sys/dev/acpica/acpi_resource.c +++ b/sys/dev/acpica/acpi_resource.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_smbat.c b/sys/dev/acpica/acpi_smbat.c index f83392f..dda5e75 100644 --- a/sys/dev/acpica/acpi_smbat.c +++ b/sys/dev/acpica/acpi_smbat.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c index 531725a..485da9e 100644 --- a/sys/dev/acpica/acpi_thermal.c +++ b/sys/dev/acpica/acpi_thermal.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_throttle.c b/sys/dev/acpica/acpi_throttle.c index 40476e0..ca14215 100644 --- a/sys/dev/acpica/acpi_throttle.c +++ b/sys/dev/acpica/acpi_throttle.c @@ -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 = { diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c index 9f61cd8..80e6d18 100644 --- a/sys/dev/acpica/acpi_timer.c +++ b/sys/dev/acpica/acpi_timer.c @@ -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 = { diff --git a/sys/dev/adlink/adlink.c b/sys/dev/adlink/adlink.c index b625d26..4180f57 100644 --- a/sys/dev/adlink/adlink.c +++ b/sys/dev/adlink/adlink.c @@ -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 = { diff --git a/sys/dev/amdsbwd/amdsbwd.c b/sys/dev/amdsbwd/amdsbwd.c index 4256381..4726416 100644 --- a/sys/dev/amdsbwd/amdsbwd.c +++ b/sys/dev/amdsbwd/amdsbwd.c @@ -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; diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index 6d106ae..c55e680 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -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 = { diff --git a/sys/dev/auxio/auxio.c b/sys/dev/auxio/auxio.c index 35fd307..b104d5a 100644 --- a/sys/dev/auxio/auxio.c +++ b/sys/dev/auxio/auxio.c @@ -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 = { diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c index 700ab80a..3f1a550 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -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 { diff --git a/sys/dev/cfi/cfi_bus_fdt.c b/sys/dev/cfi/cfi_bus_fdt.c index bfbd65f..f775e05 100644 --- a/sys/dev/cfi/cfi_bus_fdt.c +++ b/sys/dev/cfi/cfi_bus_fdt.c @@ -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 = { diff --git a/sys/dev/cfi/cfi_bus_ixp4xx.c b/sys/dev/cfi/cfi_bus_ixp4xx.c index ef9da9ee..93d03fe 100644 --- a/sys/dev/cfi/cfi_bus_ixp4xx.c +++ b/sys/dev/cfi/cfi_bus_ixp4xx.c @@ -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 = { diff --git a/sys/dev/coretemp/coretemp.c b/sys/dev/coretemp/coretemp.c index 54e5a43..55efca2 100644 --- a/sys/dev/coretemp/coretemp.c +++ b/sys/dev/coretemp/coretemp.c @@ -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 = { diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 4ff0bcc..299a51c 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -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 { diff --git a/sys/dev/cpufreq/ichss.c b/sys/dev/cpufreq/ichss.c index fc7f0ac..0eae0c9 100644 --- a/sys/dev/cpufreq/ichss.c +++ b/sys/dev/cpufreq/ichss.c @@ -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) diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 7b4abc3..fc3e916 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -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 { diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index cb15486..ad8312c 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -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 { diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c index f1f4a5f..0a0a2a0 100644 --- a/sys/dev/digi/digi_isa.c +++ b/sys/dev/digi/digi_isa.c @@ -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 = { diff --git a/sys/dev/digi/digi_pci.c b/sys/dev/digi/digi_pci.c index 342858e..55814cd 100644 --- a/sys/dev/digi/digi_pci.c +++ b/sys/dev/digi/digi_pci.c @@ -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 = { diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 8ba32e0..3344697 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -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 = { diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index efcbdfd..2921a91 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -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 = { diff --git a/sys/dev/e1000/if_lem.c b/sys/dev/e1000/if_lem.c index 58e6c7e..6b2b4f7 100644 --- a/sys/dev/e1000/if_lem.c +++ b/sys/dev/e1000/if_lem.c @@ -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 = { diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c index e25a531..bc77ec8 100644 --- a/sys/dev/ep/if_ep_eisa.c +++ b/sys/dev/ep/if_ep_eisa.c @@ -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 = { diff --git a/sys/dev/ep/if_ep_isa.c b/sys/dev/ep/if_ep_isa.c index 0455c40..e125daf 100644 --- a/sys/dev/ep/if_ep_isa.c +++ b/sys/dev/ep/if_ep_isa.c @@ -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 = { diff --git a/sys/dev/ep/if_ep_mca.c b/sys/dev/ep/if_ep_mca.c index 3c1645c..17097ab 100644 --- a/sys/dev/ep/if_ep_mca.c +++ b/sys/dev/ep/if_ep_mca.c @@ -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 = { diff --git a/sys/dev/ep/if_ep_pccard.c b/sys/dev/ep/if_ep_pccard.c index 98ebaf4..1b445f9 100644 --- a/sys/dev/ep/if_ep_pccard.c +++ b/sys/dev/ep/if_ep_pccard.c @@ -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 = { diff --git a/sys/dev/fdc/fdc_acpi.c b/sys/dev/fdc/fdc_acpi.c index 7769a57..fd5bf90 100644 --- a/sys/dev/fdc/fdc_acpi.c +++ b/sys/dev/fdc/fdc_acpi.c @@ -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 = { diff --git a/sys/dev/iicbus/ad7418.c b/sys/dev/iicbus/ad7418.c index 3875307..dcb8b95 100644 --- a/sys/dev/iicbus/ad7418.c +++ b/sys/dev/iicbus/ad7418.c @@ -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 = { diff --git a/sys/dev/iicbus/ds133x.c b/sys/dev/iicbus/ds133x.c index 572384f..20f1d40 100644 --- a/sys/dev/iicbus/ds133x.c +++ b/sys/dev/iicbus/ds133x.c @@ -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 = { diff --git a/sys/dev/iicbus/ds1672.c b/sys/dev/iicbus/ds1672.c index a9209bd..1dd0ab0 100644 --- a/sys/dev/iicbus/ds1672.c +++ b/sys/dev/iicbus/ds1672.c @@ -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 = { diff --git a/sys/dev/iicbus/icee.c b/sys/dev/iicbus/icee.c index 93c03ad..2e26d0e 100644 --- a/sys/dev/iicbus/icee.c +++ b/sys/dev/iicbus/icee.c @@ -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 = { diff --git a/sys/dev/ixgb/if_ixgb.c b/sys/dev/ixgb/if_ixgb.c index e9acae0..69a8fb9 100644 --- a/sys/dev/ixgb/if_ixgb.c +++ b/sys/dev/ixgb/if_ixgb.c @@ -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 = { diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index 1d97343..cfcc342 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -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 = { diff --git a/sys/dev/ixgbe/ixv.c b/sys/dev/ixgbe/ixv.c index b9aff80..ef5f753 100644 --- a/sys/dev/ixgbe/ixv.c +++ b/sys/dev/ixgbe/ixv.c @@ -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 = { diff --git a/sys/dev/mfi/mfi_cam.c b/sys/dev/mfi/mfi_cam.c index 599ff3b..2bbfafe 100644 --- a/sys/dev/mfi/mfi_cam.c +++ b/sys/dev/mfi/mfi_cam.c @@ -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", diff --git a/sys/dev/mn/if_mn.c b/sys/dev/mn/if_mn.c index 48fc3dc..239aa0f 100644 --- a/sys/dev/mn/if_mn.c +++ b/sys/dev/mn/if_mn.c @@ -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 = { diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c index c04e0df2..feefc3b 100644 --- a/sys/dev/mxge/if_mxge.c +++ b/sys/dev/mxge/if_mxge.c @@ -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 = diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 9648412..a487d90 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -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 = { diff --git a/sys/dev/nvram2env/nvram2env.c b/sys/dev/nvram2env/nvram2env.c index 32f17f9..5de4f87 100644 --- a/sys/dev/nvram2env/nvram2env.c +++ b/sys/dev/nvram2env/nvram2env.c @@ -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 = { diff --git a/sys/dev/nxge/if_nxge.c b/sys/dev/nxge/if_nxge.c index c7dbeb6..df1b9ec 100644 --- a/sys/dev/nxge/if_nxge.c +++ b/sys/dev/nxge/if_nxge.c @@ -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 = { diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c index 7d15fcc..cba57bf 100644 --- a/sys/dev/oce/oce_if.c +++ b/sys/dev/oce/oce_if.c @@ -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 = { diff --git a/sys/dev/sdhci/sdhci_pci.c b/sys/dev/sdhci/sdhci_pci.c index 02dc2a1..b8d8530 100644 --- a/sys/dev/sdhci/sdhci_pci.c +++ b/sys/dev/sdhci/sdhci_pci.c @@ -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 = { diff --git a/sys/dev/sound/pci/emu10kx-midi.c b/sys/dev/sound/pci/emu10kx-midi.c index c85800e..0d5fa30 100644 --- a/sys/dev/sound/pci/emu10kx-midi.c +++ b/sys/dev/sound/pci/emu10kx-midi.c @@ -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 = { diff --git a/sys/dev/sound/pci/emu10kx-pcm.c b/sys/dev/sound/pci/emu10kx-pcm.c index ab20dc6..406a85f 100644 --- a/sys/dev/sound/pci/emu10kx-pcm.c +++ b/sys/dev/sound/pci/emu10kx-pcm.c @@ -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 = { diff --git a/sys/dev/sound/pci/emu10kx.c b/sys/dev/sound/pci/emu10kx.c index 5f217c1..35a4957 100644 --- a/sys/dev/sound/pci/emu10kx.c +++ b/sys/dev/sound/pci/emu10kx.c @@ -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 }; diff --git a/sys/dev/sound/sbus/cs4231.c b/sys/dev/sound/sbus/cs4231.c index e643a4e..83f70f3 100644 --- a/sys/dev/sound/sbus/cs4231.c +++ b/sys/dev/sound/sbus/cs4231.c @@ -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 = { diff --git a/sys/dev/sound/usb/uaudio_pcm.c b/sys/dev/sound/usb/uaudio_pcm.c index b57d0fb..bd00a01 100644 --- a/sys/dev/sound/usb/uaudio_pcm.c +++ b/sys/dev/sound/usb/uaudio_pcm.c @@ -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 = { diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c index 9e00ef5..204569f 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -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 = { diff --git a/sys/dev/usb/input/uhid.c b/sys/dev/usb/input/uhid.c index 333d437..48d9c4f 100644 --- a/sys/dev/usb/input/uhid.c +++ b/sys/dev/usb/input/uhid.c @@ -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 = { diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c index 7a3e955..0c56ce0 100644 --- a/sys/dev/usb/input/ukbd.c +++ b/sys/dev/usb/input/ukbd.c @@ -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 = { diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c index 52e1b53..cc52b99 100644 --- a/sys/dev/usb/input/ums.c +++ b/sys/dev/usb/input/ums.c @@ -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 = { diff --git a/sys/dev/usb/misc/udbp.c b/sys/dev/usb/misc/udbp.c index 56f86ae..8b949ef 100644 --- a/sys/dev/usb/misc/udbp.c +++ b/sys/dev/usb/misc/udbp.c @@ -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 = { diff --git a/sys/dev/usb/misc/ufm.c b/sys/dev/usb/misc/ufm.c index 032b635..0612dd2 100644 --- a/sys/dev/usb/misc/ufm.c +++ b/sys/dev/usb/misc/ufm.c @@ -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 = { diff --git a/sys/dev/usb/net/if_cdce.c b/sys/dev/usb/net/if_cdce.c index e214fe2..6649bc0 100644 --- a/sys/dev/usb/net/if_cdce.c +++ b/sys/dev/usb/net/if_cdce.c @@ -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 = { diff --git a/sys/dev/usb/net/if_cue.c b/sys/dev/usb/net/if_cue.c index 30c5247a..6414e7a 100644 --- a/sys/dev/usb/net/if_cue.c +++ b/sys/dev/usb/net/if_cue.c @@ -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 = { diff --git a/sys/dev/usb/net/if_ipheth.c b/sys/dev/usb/net/if_ipheth.c index 28f941c..3eb2582 100644 --- a/sys/dev/usb/net/if_ipheth.c +++ b/sys/dev/usb/net/if_ipheth.c @@ -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 = { diff --git a/sys/dev/usb/net/if_kue.c b/sys/dev/usb/net/if_kue.c index 791c73a..ec0c5f0 100644 --- a/sys/dev/usb/net/if_kue.c +++ b/sys/dev/usb/net/if_kue.c @@ -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 = { diff --git a/sys/dev/usb/net/if_smsc.c b/sys/dev/usb/net/if_smsc.c index 5ce45bc..95af5eb 100644 --- a/sys/dev/usb/net/if_smsc.c +++ b/sys/dev/usb/net/if_smsc.c @@ -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 = { diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index a7feea7..e2ff0ef 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -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 = { diff --git a/sys/dev/usb/storage/urio.c b/sys/dev/usb/storage/urio.c index 39fcbe9..6cbb596 100644 --- a/sys/dev/usb/storage/urio.c +++ b/sys/dev/usb/storage/urio.c @@ -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 = { diff --git a/sys/dev/usb/storage/ustorage_fs.c b/sys/dev/usb/storage/ustorage_fs.c index b2cda10..15a5ba9 100644 --- a/sys/dev/usb/storage/ustorage_fs.c +++ b/sys/dev/usb/storage/ustorage_fs.c @@ -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 = { diff --git a/sys/dev/usb/usb_compat_linux.c b/sys/dev/usb/usb_compat_linux.c index 637ac18..a42f636 100644 --- a/sys/dev/usb/usb_compat_linux.c +++ b/sys/dev/usb/usb_compat_linux.c @@ -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 = { diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c index 80fb5c6..24dc2dd 100644 --- a/sys/dev/vx/if_vx_eisa.c +++ b/sys/dev/vx/if_vx_eisa.c @@ -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 = { diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c index 0412778..38037fa 100644 --- a/sys/dev/vx/if_vx_pci.c +++ b/sys/dev/vx/if_vx_pci.c @@ -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 = { diff --git a/sys/dev/vxge/vxge.c b/sys/dev/vxge/vxge.c index c35d84b..3650843 100644 --- a/sys/dev/vxge/vxge.c +++ b/sys/dev/vxge/vxge.c @@ -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 = { diff --git a/sys/dev/xen/console/console.c b/sys/dev/xen/console/console.c index 6a845ca..6281bf2 100644 --- a/sys/dev/xen/console/console.c +++ b/sys/dev/xen/console/console.c @@ -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 = { |