lkml.org 
[lkml]   [1996]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAHA3940 & Asustek P55TP4N
Hi all,
I have a AHA 3940 and a Asustek P55TP4N (rev1.01); it seems that someone,
perhaps the pci bios, gets confused about irq numbers allocation: the
3940 grabs two irq lines -- 9 & 10 --, the ATI Mach64 gets irq 9 !!! (but
XFree seems not to use it) and 3Com 3C590 (rev C) gets irq 10 !!!!.
Of course, the net card does not function.
Yesterday, I have tried to modify the vortex driver (see afterward) to use
irq 11 (which is free in my machine ) and module loading is ok, but
configuring eth0 (with /etc/rc.d/rc/inet1) freezes after 2/3 secs.

Two questions:

1) my motherboard BIOS is OK ? is it confused by the two interfaces in
3940 ?

2) why my simple hack in 3c59x.c does not function ?

------------------------------------------

if ( ! product_ids[index])
break;

/* MY HACK */

pcibios_write_config_byte(pci_bus, pci_device_fn,PCI_INTERRUPT_LINE,
11);

/* HACK END */

pcibios_read_config_byte(pci_bus, pci_device_fn,PCI_INTERRUPT_LINE,
&pci_irq_line);
pcibios_read_config_dword(pci_bus, pci_device_fn,PCI_BASE_ADDRESS_0,
&pci_ioaddr);

---------------------------------

*-----------------------------------------------*
| Davide Rossetti - sysop of Thera S.r.l |
| rossetti@pcape2.roma1.infn.it |
| rossetti@vxrm64.roma1.infn.it |
| root@thera.iunet.it |
*-----------------------------------------------*




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.022 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site