Hi,

I finally managed to fix the Supertek ST-3WT network card interrupt 
issue. With the attached patch, the onboard RTL8139 comes up just fine 
and works without any hazzle.
 
Stefan  

-- 
Ok hex 4666 dup negate do i 4000 dup 2* negate do " *" 0 dup 2dup 1e 0 do
 2swap * e >>a 2* 5 pick + -rot - j + dup dup * e >>a rot dup dup * e >>a 
  rot swap 2dup + 10000 > if 3drop 3drop "  " 0 dup 2dup leave then loop 
              2drop 2drop type 268 +loop cr drop 5de +loop
diff -u -r1.2 src/mainboard/supertek/st3wt/mainboard.c
--- src/mainboard/supertek/st3wt/mainboard.c    15 Apr 2002 14:02:19 -0000      1.2
+++ src/mainboard/supertek/st3wt/mainboard.c    23 Apr 2002 01:24:38 -0000
@@ -31,6 +31,12 @@
 
        printk_info("Final mainboard fixup\n");
 
+       dev = pci_find_slot(0,PCI_DEVFN(0x12,0));
+       if (dev) {
+               printk_debug("st-3wt: setting up interrupts.\n");
+               pci_write_config_word(dev, 0x5c, 0xaa0b);
+       }
+       
         dev = pci_find_slot(0, PCI_DEVFN(0x0f, 0));
         if (dev) {
                 printk_debug("st-3wt: Setting eth0 IRQ to %d (INTB)\n",

Reply via email to