Results 1 to 6 of 6
I have LAN card(NIC) (Silan SC92031 PCI Fast Ethernet Adapter). I have also software floppy.
which includes:
sc92031.c
Makefile
how can i install new NIC.
when i try to compile ...
- 09-02-2006 #1Just Joined!
- Join Date
- Aug 2006
- Location
- Hetauda ,Nepal
- Posts
- 5
Is there anybody to answer this question?
I have LAN card(NIC) (Silan SC92031 PCI Fast Ethernet Adapter). I have also software floppy.
which includes:
sc92031.c
Makefile
how can i install new NIC.
when i try to compile .c extension file. I get huge no of
errors.
README tells to compile it but i can't.
Someone suggests me to use make & make install.
but while doing this i get following errors.
/lib/modules/2.6.10-1.741_FC3/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
sc92031.c:106:40: missing binary operator before token "("
sc92031.c: In function `silan_open':
sc92031.c:945: warning: passing arg 2 of `request_irq' from incompatible pointer type
sc92031.c: In function `netdev_ethtool_ioctl':
sc92031.c:1848: error: `np' undeclared (first use in this function)
sc92031.c:1848: error: (Each undeclared identifier is reported only once
sc92031.c:1848: error: for each function it appears in.)
sc92031.c:1900:40: missing binary operator before token "("
make: *** [sc92031.o] Error 1
Dont answer in one & two line.
If u have more time only answer this.
- 09-02-2006 #2
You probably won't need to compile anything.
Can you post the output of :
?Code:/sbin/lspci | grep -i ethernet
With your 2.6.10 kernel, there might already be a module present that can handle this card.
How did you try to compile it?
Like that?
Also, another thread on the same card here :Code:make
http://www.linuxforums.org/forum/lin...onnection.html"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 09-04-2006 #3Just Joined!
- Join Date
- Aug 2006
- Location
- Hetauda ,Nepal
- Posts
- 5
output for /sbin/lspci | grep -i ethernet
output for /sbin/lspci | grep -i ethernet
01:01.0 Ethernet controller: Unknown device 1904:8139 (rev 01)
I am using fedora core of kernel version 2.6.10
There is the module for
1. RTL8139 ,SMC EZ card
2. Realtek RTL8129
I have used both but configured graphically.
but while booting up system can not detect that cards displaying error delaying initiaization.
i have used "make" command to compile.
Error description i have given already is error generated. from that "make" commmand.
- 09-05-2006 #4
First, are you in directory of the Linux kernel source where also the binary *.ko files of similar drivers are present?
If yes, you might have genuine compile errors. The source of 2.4 drivers can have problems to compile it on a 2.6 source tree.
The fixing of this can be very tedious.
First, start looking for the first error message, I suppose that's 'NR_IRQ_VECTORS'. Make a search, a "grep" for example, over the kernel source include directory, or even over the whole source tree. Some kernel header files have changed location.
Try to fix this or do a workaround and hope you will have only a few errors. From the beginning you can't tell how much errors are there because following error messages might be provoked only by the first ones, and later in this process more errors can still occur.
- 10-07-2006 #5Just Joined!
- Join Date
- Jun 2006
- Posts
- 2
SC92031 NIC under FC 5
I have same NIC
& when i run # make install command as mention in readme file it gives error as "kernel source not found"
how can we solve this problem ?
- 10-07-2006 #6Did you install the kernel sources ?
Originally Posted by jeetu_chaudhari
Can you post the output of
plus the distro and kernel you are using ?Code:/sbin/lscpi
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
