From 75dd89a561227b5f07d5852aa7df3cb13a796578 Mon Sep 17 00:00:00 2001 From: gj Date: Sun, 28 Apr 2002 11:47:10 +0000 Subject: Change instances of avma1pp2- to ifpi2- in printf's since the name of the driver should be emitted. This was already changed in the code committed to RELENG_4. --- sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/i4b') diff --git a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c index fc70231..cc81070 100644 --- a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c +++ b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c @@ -462,13 +462,13 @@ avma1pp2_attach_avma1pp(device_t dev) /* probably not really required */ if(unit > IFPI2_MAXUNIT) { - printf("avma1pp2-%d: Error, unit > IFPI_MAXUNIT!\n", unit); + printf("ifpi2-%d: Error, unit > IFPI_MAXUNIT!\n", unit); splx(s); return(ENXIO); } if ((vid != PCI_AVMA1_VID) && (did != PCI_AVMA1_V2_DID)) { - printf("avma1pp2-%d: unknown device!?\n", unit); + printf("ifpi2-%d: unknown device!?\n", unit); goto fail; } @@ -480,7 +480,7 @@ avma1pp2_attach_avma1pp(device_t dev) 0, ~0, 1, RF_ACTIVE); if (sc->sc_resources.io_base[0] == NULL) { - printf("avma1pp2-%d: couldn't map IO port\n", unit); + printf("ifpi2-%d: couldn't map IO port\n", unit); error = ENXIO; goto fail; } @@ -495,7 +495,7 @@ avma1pp2_attach_avma1pp(device_t dev) if (sc->sc_resources.irq == NULL) { bus_release_resource(dev, SYS_RES_IOPORT, PCIR_MAPS+4, sc->sc_resources.io_base[0]); - printf("avma1pp2-%d: couldn't map interrupt\n", unit); + printf("ifpi2-%d: couldn't map interrupt\n", unit); error = ENXIO; goto fail; } @@ -505,7 +505,7 @@ avma1pp2_attach_avma1pp(device_t dev) if (error) { bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_resources.irq); bus_release_resource(dev, SYS_RES_IOPORT, PCIR_MAPS+4, sc->sc_resources.io_base[0]); - printf("avma1pp2-%d: couldn't set up irq\n", unit); + printf("ifpi2-%d: couldn't set up irq\n", unit); goto fail; } -- cgit v1.1