Tiny cleanup for hp100
Hi!
Tiny cleanup and warning about dos utility (it took me 2 weeks to find out whats going on there). Please apply,
Pavel
drivers/net/hp100.c +6 -3
@@ -2091,12 +2091,10 @@static void hp100_misc_interrupt (struct net_device *dev) { -#ifdef HP100_DEBUG_B -int ioaddr = dev->base_addr; -#endif struct hp100_private *lp = (struct hp100_private *) dev->priv;#ifdef HP100_DEBUG_B +int ioaddr = dev->base_addr;hp100_outw (0x4216 ,TRACE );printk ("hp100: %s: misc_interrupt\n" , dev->name);#endif
@@ -2536,6 +2534,11 @@return HP100_LAN_10 ;if (val_10 &HP100_AUI_ST ) {/* have we BNC or AUI onboard? */ +/* +* This can be overriden by dos utility, so if this has no effect, +* perhaps you need to download that utility from HP and set card +* back to "auto detect". +*/ val_10 |=HP100_AUI_SEL |HP100_LOW_TH ;hp100_page (MAC_CTRL ); hp100_outb(val_10, 10_LAN_CFG_1);
Signature · 2 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email?