Subject: Re: Is Broadcom BCM5721 works with NetBSD-2?
To: None <netbsd-users@netbsd.org>
From: Mustafa Dogan <Mustafa.Dogan@politics.ankara.edu.tr>
List: netbsd-users
Date: 07/16/2005 14:15:41
Christos Zoulas wrote:
> You can certainly try to do this. FreeBSD/current supports this chip
> so you can look in their cvs tree for the necessary changes.
> http://lists.freebsd.org/pipermail/freebsd-hackers/2005-March/010936.html
I looked in bge driver of NetBSD-current as well as FreeBSD's and OpenBSD's.
FreeBSD has some differences but, OpenBSD looks like similar. Three of them
includes lines about BCM5721.
I made some changes:
I added to pcidevs
product BROADCOM BCM5721 0x1659 BCM5721 10/100/1000 Ethernet
executed "make -f Makefile.pcidevs" and regen pcidevs.h and pcidevs_data.h
added to if_bge.c under bge_products[]
{ PCI_VENDOR_BROADCOM,
PCI_PRODUCT_BROADCOM_BCM5721,
"Broadcom BCM5721 Gigabit Ethernet", },
recompiled and installed new kernel.
After rebooting, new kernel dropped into ddb>
Kernel: page fault trap, code 0
Stopped at netbsd:bge_intr 0x266 ...
What else can I do? Should I send PR?