As was done for em(4).. remove doubled error messages.
Index: if_ix.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
retrieving revision 1.18
diff -u -p -r1.18 if_ix.c
--- if_ix.c 4 Jun 2009 22:27:31 -0000 1.18
+++ if_ix.c 24 Jun 2009 00:43:36 -0000
@@ -206,10 +206,8 @@ ixgbe_attach(struct device *parent, stru
sc->rx_process_limit = 100; // XXX
/* Do base PCI setup - map BAR0 */
- if (ixgbe_allocate_pci_resources(sc)) {
- printf(": allocation of PCI resources failed\n");
+ if (ixgbe_allocate_pci_resources(sc))
goto err_out;
- }
/* Allocate our TX/RX Queues */
if (ixgbe_allocate_queues(sc))
Index: if_ixgb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ixgb.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_ixgb.c
--- if_ixgb.c 28 Nov 2008 02:44:18 -0000 1.52
+++ if_ixgb.c 24 Jun 2009 00:43:56 -0000
@@ -201,11 +201,8 @@ ixgb_attach(struct device *parent, struc
/* Set the max frame size assuming standard ethernet sized frames */
sc->hw.max_frame_size = IXGB_MAX_JUMBO_FRAME_SIZE;
- if (ixgb_allocate_pci_resources(sc)) {
- printf("%s: Allocation of PCI resources failed\n",
- sc->sc_dv.dv_xname);
+ if (ixgb_allocate_pci_resources(sc))
goto err_pci;
- }
tsize = IXGB_ROUNDUP(sc->num_tx_desc * sizeof(struct ixgb_tx_desc),
IXGB_MAX_TXD * sizeof(struct ixgb_tx_desc));
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.