Ticket #2998: debug_bmtphy_probe.diff
File debug_bmtphy_probe.diff, 771 bytes (added by , 16 years ago) |
---|
-
bmtphy.c
140 140 141 141 /* Let exphy(4) take precedence for these. */ 142 142 rval = mii_phy_dev_probe(dev, bmtphys_lp, BUS_PROBE_LOW_PRIORITY); 143 dprintf("bmtphy_probe: mii_phy_dev_probe(dev, bmtphys_lp, BUS_PROBE_LOW_PRIORITY) returned 0x%x\n", rval); 143 144 #ifndef __HAIKU__ 144 145 if (rval <= 0) 145 146 #else 146 147 if (rval <= 0 && rval != ENXIO) 147 148 return (rval); 148 149 #endif 149 150 return (mii_phy_dev_probe(dev, bmtphys_dp, BUS_PROBE_DEFAULT)); 150 rval = mii_phy_dev_probe(dev, bmtphys_dp, BUS_PROBE_DEFAULT); 151 dprintf("bmtphy_probe: mii_phy_dev_probe(dev, bmtphys_dp, BUS_PROBE_DEFAULT) returned 0x%x\n", rval); 152 return (rval); 151 153 } 152 154 153 155 static int