Cenzic 232 Patent
Paid Advertising
sla.ckers.org is
ha.ckers sla.cking
Sla.ckers.org
This group should mostly be dealing with how web applications enable networking security issues that are otherwise not there. Everything is being tunneled over port 80 now so what does that enable and how do we fix it? 
Go to Topic: PreviousNext
Go to: Forum ListMessage ListNew TopicSearchLog In
FreeBSD & M3N78-EMH
Posted by: id
Date: September 27, 2008 03:23PM

Just an FYI, and a place to remind myself, FreeBSD doesn't support the on-board ethernet card, have to edit two files and add a few lines.

find this line in nfereg.h
#define PCI_PRODUCT_NVIDIA_MCP73_LAN4           0x07df

and add the following lines after it:
#define PCI_PRODUCT_NVIDIA_MCP77_LAN1           0x0760
#define PCI_PRODUCT_NVIDIA_MCP77_LAN2           0x0761
#define PCI_PRODUCT_NVIDIA_MCP77_LAN3           0x0762
#define PCI_PRODUCT_NVIDIA_MCP77_LAN4           0x0763

next edit if_nfe.c and find these lines:
        {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP73_LAN4,
            "NVIDIA nForce MCP73 Networking Adapter"},

and add the following lines after it
        {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP77_LAN1,
            "NVIDIA nForce MCP77 Networking Adapter"},
        {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP77_LAN2,
            "NVIDIA nForce MCP77 Networking Adapter"},
        {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP77_LAN3,
            "NVIDIA nForce MCP77 Networking Adapter"},
        {PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP77_LAN4,
            "NVIDIA nForce MCP77 Networking Adapter"},

go down further in the file to:
        case PCI_PRODUCT_NVIDIA_MCP73_LAN4:

and add:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN1:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN2:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN3:
        case PCI_PRODUCT_NVIDIA_MCP77_LAN4:

I'll make a patch and submit it once I'm done testing.

-id

Options: ReplyQuote
Re: FreeBSD & M3N78-EMH
Posted by: id
Date: September 27, 2008 06:24PM

btw, this is for 7.x

the files are in /usr/src/sys/dev/nfe/

yeah I know no one here cares :)

-id

Options: ReplyQuote
Re: FreeBSD & M3N78-EMH
Posted by: thrill
Date: September 27, 2008 06:59PM

Not only are we really proud of you, but we're extremely impressed. I would write more, but I have to go rotate the air in my tires.

--thrill

---

It is not the degrees you hold, but the mind you possess. - thrill

Options: ReplyQuote
Re: FreeBSD & M3N78-EMH
Posted by: Malkav
Date: September 30, 2008 05:10AM

i would care, if i had this onboard :)

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

Those that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
--Benjamin Franklin

Options: ReplyQuote


Sorry, only registered users may post in this forum.