Module Name: src
Committed By: cegger
Date: Tue May 12 14:28:22 UTC 2009
Modified Files:
src/sys/dev/if_ndis: if_ndis_pci.c
Log Message:
struct device * -> device_t, no functional changes intended.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/if_ndis/if_ndis_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/if_ndis/if_ndis_pci.c
diff -u src/sys/dev/if_ndis/if_ndis_pci.c:1.14 src/sys/dev/if_ndis/if_ndis_pci.c:1.15
--- src/sys/dev/if_ndis/if_ndis_pci.c:1.14 Tue May 12 12:17:51 2009
+++ src/sys/dev/if_ndis/if_ndis_pci.c Tue May 12 14:28:22 2009
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ndis_pci.c,v 1.14 2009/05/12 12:17:51 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ndis_pci.c,v 1.15 2009/05/12 14:28:22 cegger Exp $");
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/sys/dev/if_ndis/if_ndis_pci.c,v 1.8.2.3 2005/03/31 04:24:36 wpaul Exp $");
#endif
@@ -85,11 +85,11 @@
{ 0, 0, 0, NULL }
};
-/*static*/ int ndis_probe_pci(struct device *parent,
+/*static*/ int ndis_probe_pci(device_t parent,
cfdata_t match,
void *aux);
-/*static*/ void ndis_attach_pci(struct device *parent,
- struct device *self,
+/*static*/ void ndis_attach_pci(device_t parent,
+ device_t self,
void *aux);
extern void ndis_attach (void *);
extern int ndis_shutdown (device_t);
@@ -145,7 +145,7 @@
}
/*static*/ int
-ndis_probe_pci(struct device *parent, cfdata_t match, void *aux)
+ndis_probe_pci(device_t parent, cfdata_t match, void *aux)
{
struct pci_attach_args *pa = aux;
int vendor = PCI_VENDOR(pa->pa_id);
@@ -187,7 +187,7 @@
#define MAX_RESOURCES 7
/*static*/
-void ndis_attach_pci(struct device *parent, struct device *self, void *aux)
+void ndis_attach_pci(device_t parent, device_t self, void *aux)
{
struct ndis_softc *sc = (struct ndis_softc*)self;
struct pci_attach_args *pa = aux;