Re: hme(4) on hppa?
Stian Sletner <[email protected]> Tue, 27 May 2008 08:28:45 +0200
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Message-ID | <[email protected]> |
On 2008-05-26T23:09-0500, Travers Buda wrote: > Bah, that's not right. I've had too much coffee. Does not > compile. This does not compile either, but it's how sparc64 does > it (except sparc64 has it in files.sparc64.) You were on the right track I think. I put this in my files.hppa: device hme: ether, ifnet, mii, ifmedia file dev/ic/hme.c hme attach hme at pci with hme_pci file dev/pci/if_hme_pci.c hme_pci Which compiled fine, although dmesg looks a little confused: "Sun PCIO EBus2" rev 0x01 at pci3 dev 0 function 0 not configured hme0 at pci3 dev 0 function 1 "Sun HME" rev 0x01: line 4 irq 2, address 08:00:20 :aa:dd:d8 ukphy0 at hme0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x006051, model 0x0000 "Sun PCIO EBus2" rev 0x01 at pci3 dev 1 function 0 not configured hme1 at pci3 dev 1 function 1 "Sun HME" rev 0x01: line 5 irq 3, address 08:00:20 :aa:dd:d9 ukphy1 at hme1 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x006051, model 0x0000 "Sun PCIO EBus2" rev 0x01 at pci3 dev 2 function 0 not configured hme2 at pci3 dev 2 function 1 "Sun HME" rev 0x01: line 3 irq 5, address 08:00:20 :aa:dd:da ukphy2 at hme2 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x006051, model 0x0000 "Sun PCIO EBus2" rev 0x01 at pci3 dev 3 function 0 not configured hme3 at pci3 dev 3 function 1 "Sun HME" rev 0x01: line 2 irq 6, address 08:00:20 :aa:dd:db ukphy3 at hme3 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x006051, model 0x0000 They show up in ifconfig -a, I'll test later if they actually work. :-) Thanks for the help so far. -- Stian Sletner