FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940) (a solution)

2003-11-21 Thread Krad Yusuf KONU
I know there is no support 3c940 nic with FreeBSD 5.1 version. But
it is added later. I look at the CVS. In FreeBSD 5.1 the driver version
of the sk is 1.59 (if_sk.c). But 3c940 support added to sk with version
1.65. So i take the 1.65.
then i put these files to kernel and i compile itl. Now i am happy with
my 3c940 on FreeBSD 5.1.

you can download if_sk.c  1.65 version from
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_sk.c . But it
depend to 2 other files (if_skreg.h and yukonreg.h) so you must download
they also.

Steps
---
   (+)download if_sk.c version 1.65 -
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_sk.c?rev=1.64content-type=text/plain

(+)download if_skreg.h version 1.16 -
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_skreg.h?rev=1.16content-type=text/plain

(+)download yukonreg.h version 1.1 -
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/yukonreg.h?rev=1.1content-type=text/plain

   (+) backup your orginal files which are in /usr/src/sys/pci/
mv  /usr/src/sys/pci/if_sk.c /usr/src/sys/pci/if_sk.c.orig
mv  /usr/src/sys/pci/if_skreg.c /usr/src/sys/pci/if_skreg.h.orig

mv  /usr/src/sys/pci/yukonreg.h /usr/src/sys/pci/yukonreg.h.orig

(+) copy your downloaded files to /usr/src/sys/pci/
cd
/floppy/ #I
guess that
cp if_sk.c if_skreg.h yukonreg.h /usr/src/sys/pci/

(+) Now you can compile kernel
cd /usr/src/sys/i386/conf/
config GENERIC
cd ../compile/GENERIC
make depend
make
make install

(+) reboot the system
reboot
(+) if everything ok you can see your sk driver with 3c940


Krad Yusuf KONU

KYK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)

2003-07-04 Thread Han Hwei Woo
I don't believe the 3C940 is currently supported in FreeBSD (nothing about
it in hardware notes for 5.1 i386). So, you can try googling to see if
anyone's working on a driver for it. Chances are however that you'll have to
use another NIC.

- Original Message - 
From: Gab [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 8:31 AM
Subject: FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)


 Hello,

 I successfully installed FreeBSD 5.1 on my ASUS P4C800 motherboard. The
 only remaining problem is that sysinstall did not find any ethernet
 device during the installation. The onboard NIC is a 3Com 3C940.

 What should I exactly do in order to make the system detect this 3Com
 3C940 ethernet device and make it work properly?

 Many thanks for your help.

 Gab

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)

2003-07-01 Thread Gab
Hello,

I successfully installed FreeBSD 5.1 on my ASUS P4C800 motherboard. The
only remaining problem is that sysinstall did not find any ethernet
device during the installation. The onboard NIC is a 3Com 3C940.

What should I exactly do in order to make the system detect this 3Com
3C940 ethernet device and make it work properly?

Many thanks for your help.

Gab

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]