Re: hme(4) on hppa?
Travers Buda <[email protected]> Mon, 26 May 2008 23:09:46 -0500
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Message-ID | <[email protected]> |
* Travers Buda <[email protected]> [2008-05-26 21:42:44]: > * Stian Sletner <[email protected]> [2008-05-26 23:47:07]: > > > On 2008-05-26T23:35+0200, Mark Kettenis wrote: > > > It'll probably just work if you add > > > > > > hme* at pci? # Sun Happy Meal > > > > > > to your kernel config. > > > > > > Let me know if it works and I'll add it to the hppa GENERIC kernel. > > > > I should probably have mentioned that I've tried this. It goes: > > > > # config HME > > HME:3: hme*: unknown device `hme' > > *** Stop. > > > > -- > > Stian Sletner > > > > > > Sorry, this is the right patch. > *snip old patch* > 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.) =================================================================== RCS file: RCS/files.pci,v retrieving revision 1.1 diff -u -r1.1 files.pci --- files.pci 2008/05/27 04:21:16 1.1 +++ files.pci 2008/05/27 04:28:10 @@ -230,6 +230,11 @@ attach qli at pci with qli_pci file dev/pci/qli_pci.c qli_pci +# Sun HME Ethernet controllers +device hme: ether, ifnet, mii, ifmedia +attach hme at pci +file dev/ic/hme.c hme + # Ethernet driver for DC21040-based boards device de: ether, ifnet, ifmedia attach de at pci -- Travers Buda