diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
| commit | f246e4a17fd469ab781124a678e103d44d637c5f (patch) | |
| tree | 1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/sr | |
| parent | 10646d5f83c7e84f352d3ea4d96caeb6c166859b (diff) | |
Notes
Diffstat (limited to 'sys/dev/sr')
| -rw-r--r-- | sys/dev/sr/if_sr_isa.c | 3 | ||||
| -rw-r--r-- | sys/dev/sr/if_sr_pci.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c index 46adf353f705..e0f59cce5cd6 100644 --- a/sys/dev/sr/if_sr_isa.c +++ b/sys/dev/sr/if_sr_isa.c @@ -93,7 +93,8 @@ static driver_t sr_isa_driver = { sizeof (struct sr_hardc) }; -DRIVER_MODULE(if_sr, isa, sr_isa_driver, sr_devclass, 0, 0); +DRIVER_MODULE(sr, isa, sr_isa_driver, sr_devclass, 0, 0); +MODULE_DEPEND(sr, isa, 1, 1, 1); static u_int src_get8_io(u_int base, u_int off); static u_int src_get16_io(u_int base, u_int off); diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c index 5b2b95aa35e9..a9b33612dc06 100644 --- a/sys/dev/sr/if_sr_pci.c +++ b/sys/dev/sr/if_sr_pci.c @@ -69,7 +69,8 @@ static driver_t sr_pci_driver = { sizeof(struct sr_hardc), }; -DRIVER_MODULE(if_sr, pci, sr_pci_driver, sr_devclass, 0, 0); +DRIVER_MODULE(sr, pci, sr_pci_driver, sr_devclass, 0, 0); +MODULE_DEPEND(sr, pci, 1, 1, 1); static u_int src_get8_mem(u_int base, u_int off); static u_int src_get16_mem(u_int base, u_int off); |
