mvs: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
7fcc344928
commit
827252eefd
@ -576,8 +576,6 @@ mvs_set_edma_mode(device_t dev, enum mvs_edma_mode mode)
|
||||
ATA_OUTL(ch->r_mem, EDMA_CMD, EDMA_CMD_EENEDMA);
|
||||
}
|
||||
|
||||
devclass_t mvs_devclass;
|
||||
devclass_t mvsch_devclass;
|
||||
static device_method_t mvsch_methods[] = {
|
||||
DEVMETHOD(device_probe, mvs_ch_probe),
|
||||
DEVMETHOD(device_attach, mvs_ch_attach),
|
||||
@ -591,8 +589,8 @@ static driver_t mvsch_driver = {
|
||||
mvsch_methods,
|
||||
sizeof(struct mvs_channel)
|
||||
};
|
||||
DRIVER_MODULE(mvsch, mvs, mvsch_driver, mvsch_devclass, 0, 0);
|
||||
DRIVER_MODULE(mvsch, sata, mvsch_driver, mvsch_devclass, 0, 0);
|
||||
DRIVER_MODULE(mvsch, mvs, mvsch_driver, 0, 0);
|
||||
DRIVER_MODULE(mvsch, sata, mvsch_driver, 0, 0);
|
||||
|
||||
static void
|
||||
mvs_phy_check_events(device_t dev, u_int32_t serr)
|
||||
|
@ -631,8 +631,6 @@ struct mvs_intr_arg {
|
||||
u_int cause;
|
||||
};
|
||||
|
||||
extern devclass_t mvs_devclass;
|
||||
|
||||
/* macros to hide busspace uglyness */
|
||||
#define ATA_INB(res, offset) \
|
||||
bus_read_1((res), (offset))
|
||||
|
@ -520,7 +520,7 @@ static driver_t mvs_driver = {
|
||||
mvs_methods,
|
||||
sizeof(struct mvs_controller)
|
||||
};
|
||||
DRIVER_MODULE(mvs, pci, mvs_driver, mvs_devclass, 0, 0);
|
||||
DRIVER_MODULE(mvs, pci, mvs_driver, 0, 0);
|
||||
MODULE_PNP_INFO("W32:vendor/device", pci, mvs, mvs_ids,
|
||||
nitems(mvs_ids) - 1);
|
||||
MODULE_VERSION(mvs, 1);
|
||||
|
@ -465,6 +465,6 @@ static driver_t mvs_driver = {
|
||||
mvs_methods,
|
||||
sizeof(struct mvs_controller)
|
||||
};
|
||||
DRIVER_MODULE(mvs, simplebus, mvs_driver, mvs_devclass, 0, 0);
|
||||
DRIVER_MODULE(mvs, simplebus, mvs_driver, 0, 0);
|
||||
MODULE_VERSION(mvs, 1);
|
||||
MODULE_DEPEND(mvs, cam, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user