parent
5fc45c72a5
commit
dab69ffee7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfsmb.c,v 1.2 2007/07/21 12:14:27 kiyohara Exp $ */
|
||||
/* $NetBSD: nfsmb.c,v 1.3 2007/07/28 12:31:50 kiyohara Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2007 KIYOHARA Takashi
|
||||
* All rights reserved.
|
||||
|
@ -26,7 +26,7 @@
|
|||
*
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.2 2007/07/21 12:14:27 kiyohara Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.3 2007/07/28 12:31:50 kiyohara Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/device.h>
|
||||
|
@ -130,7 +130,7 @@ nfsmbc_attach(struct device *parent, struct device *self, void *aux)
|
|||
struct nfsmbc_softc *sc = (struct nfsmbc_softc *) self;
|
||||
struct pci_attach_args *pa = aux;
|
||||
struct nfsmbc_attach_args nfsmbca;
|
||||
uint32_t reg;
|
||||
pcireg_t reg;
|
||||
char devinfo[256];
|
||||
|
||||
aprint_naive("\n");
|
||||
|
@ -211,7 +211,7 @@ nfsmb_attach(struct device *parent, struct device *self, void *aux)
|
|||
lockinit(&sc->sc_lock, PZERO, "nfsmb", 0, 0);
|
||||
|
||||
if (bus_space_map(sc->sc_iot, nfsmbcap->nfsmb_addr, NFORCE_SMBSIZE, 0,
|
||||
&sc->sc_ioh)) {
|
||||
&sc->sc_ioh) != 0) {
|
||||
aprint_error("%s: failed to map SMBus space\n",
|
||||
sc->sc_dev.dv_xname);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue