diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-05-06 22:05:39 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-05-06 22:05:39 +0000 |
| commit | 2850fee53f280dbc81902a7857eb8b6ee7576a14 (patch) | |
| tree | 2668ed705cd10d39ac6ae02c461cfb3f0f100174 /sys/dev | |
| parent | 481d658f1e0facd6ad03d9e1721fdce2111d7f7c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pci.c | 6 | ||||
| -rw-r--r-- | sys/dev/pci/pcivar.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 6312279ae2e3..b502a709ba93 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pci.c,v 1.95 1999/04/16 21:22:52 peter Exp $ + * $Id: pci.c,v 1.96 1999/04/24 19:59:20 peter Exp $ * */ @@ -928,7 +928,7 @@ static devclass_t pci_devclass; * Create a new style driver around each old pci driver. */ int -compat_pci_handler(struct moduledata *mod, int type, void *data) +compat_pci_handler(module_t mod, int type, void *data) { struct pci_device *dvp = (struct pci_device *)data; driver_t *driver; @@ -947,7 +947,7 @@ compat_pci_handler(struct moduledata *mod, int type, void *data) devclass_add_driver(pci_devclass, driver); break; case MOD_UNLOAD: - printf("%s: module unload not supported!\n", mod->name); + printf("%s: module unload not supported!\n", dvp->pd_name); return EOPNOTSUPP; default: break; diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 3df7074eb09f..a3d5097ecca9 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcivar.h,v 1.27 1999/04/17 08:36:07 peter Exp $ + * $Id: pcivar.h,v 1.28 1999/04/24 19:59:20 peter Exp $ * */ @@ -299,8 +299,8 @@ int pci_map_int_right(pcici_t cfg, pci_inthand_t *handler, void *arg, intrmask_t *maskptr, u_int flags); int pci_unmap_int (pcici_t tag); -struct moduledata; -int compat_pci_handler (struct moduledata *, int, void *); +struct module; +int compat_pci_handler (struct module *, int, void *); #define COMPAT_PCI_DRIVER(name, pcidata) \ static moduledata_t name##_mod = { \ #name, \ |
