Rename iha_pci_probe() -> iha_pci_match() because we don't have to
probe PCI devices.
This commit is contained in:
parent
47429afbb8
commit
8e9e66997f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iha_pci.c,v 1.9 2004/09/25 11:58:19 tsutsui Exp $ */
|
||||
/* $NetBSD: iha_pci.c,v 1.10 2005/06/16 14:32:09 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Device driver for the INI-9XXXU/UW or INIC-940/950 PCI SCSI Controller.
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: iha_pci.c,v 1.9 2004/09/25 11:58:19 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: iha_pci.c,v 1.10 2005/06/16 14:32:09 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -56,14 +56,14 @@ __KERNEL_RCSID(0, "$NetBSD: iha_pci.c,v 1.9 2004/09/25 11:58:19 tsutsui Exp $");
|
||||
|
||||
#include <dev/ic/ihavar.h>
|
||||
|
||||
static int iha_pci_probe(struct device *, struct cfdata *, void *);
|
||||
static int iha_pci_match(struct device *, struct cfdata *, void *);
|
||||
static void iha_pci_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(iha_pci, sizeof(struct iha_softc),
|
||||
iha_pci_probe, iha_pci_attach, NULL, NULL);
|
||||
iha_pci_match, iha_pci_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
iha_pci_probe(struct device *parent, struct cfdata *match, void *aux)
|
||||
iha_pci_match(struct device *parent, struct cfdata *match, void *aux)
|
||||
{
|
||||
struct pci_attach_args *pa = aux;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user