Re: hme(4) on hppa?

Travers Buda <[email protected]> Mon, 26 May 2008 21:42:44 -0500
Newsgroups gmane.os.openbsd.hppa
Message-ID <[email protected]>
* 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.

In /usr/src/sys/dev/pci/

===================================================================
RCS file: RCS/files.pci,v
retrieving revision 1.1
diff -u -r1.1 files.pci
--- files.pci   2008/05/27 03:32:57     1.1
+++ files.pci   2008/05/27 03:40:46
@@ -355,6 +355,11 @@
 file   dev/pci/ixgb_ee.c               ixgb
 file   dev/pci/ixgb_hw.c               ixgb
 
+# Sun Happy Meal ethernet... would you like fries with that?
+device hme: ether, ifnet, ifmedia
+attach hme  at pci
+file   dev/pci/if_hme_pci.c
+
 # Neterion Xframe 10 Gigabit ethernet 
 device xge: ether, ifnet, ifmedia
 attach xge  at pci


-- 
Travers Buda