From kiwi@plonk.home.oav.net  Fri Feb  6 05:04:52 2004
Return-Path: <kiwi@plonk.home.oav.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1958C16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Feb 2004 05:04:52 -0800 (PST)
Received: from plonk.home.oav.net (kiwi.adsl.isdnet.net [195.154.177.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B2FAD43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Feb 2004 05:04:49 -0800 (PST)
	(envelope-from kiwi@plonk.home.oav.net)
Received: from plonk.home.oav.net (localhost [127.0.0.1])
	by plonk.home.oav.net (8.12.10/8.12.10) with ESMTP id i19ISnMv000739
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 9 Feb 2004 19:28:49 +0100 (CET)
	(envelope-from kiwi@plonk.home.oav.net)
Received: (from root@localhost)
	by plonk.home.oav.net (8.12.10/8.12.10/Submit) id i19ISmFc000738;
	Mon, 9 Feb 2004 19:28:48 +0100 (CET)
	(envelope-from kiwi)
Message-Id: <200402091828.i19ISmFc000738@plonk.home.oav.net>
Date: Mon, 9 Feb 2004 19:28:48 +0100 (CET)
From: Xavier Beaudouin <kiwi@oav.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [WISH] make device hme work on non sparc64 platforms
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62435
>Category:       kern
>Synopsis:       [WISH] make device hme work on non sparc64 platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 06 05:10:12 PST 2004
>Closed-Date:    Sat Jun 04 21:16:54 GMT 2005
>Last-Modified:  Sat Jun 04 21:16:54 GMT 2005
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD plonk.home.oav.net 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Mon Jan 19 22:15:10 CET 2004 root@plonk.home.oav.net:/usr/src/sys/i386/compile/PLONK i386


>Description:
Adding "device hme" to a i386 kernel configuratio file should be enable.

Seems that dev/hme/if_hme_pci.h depends of machine/ofw_matchdep.h that
not seems to be present on i386.

Btw OF_getetheraddr() it only present on sparc64 platform so it is 
difficult to get ethernet address....

Maybe this should be great to support that kind of interface on non
sparc64 platform as NetBSD (seems, but I have not tested yet) and Linux as 
well...

>How-To-Repeat:

echo "device hme" >> /usr/src/sys/i386/conf/YOURKERNEL

and make a kernel as usual.

>Fix:



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sat Jun 4 21:15:59 GMT 2005 
State-Changed-Why:  
marius made hme(4) MI in August 2004 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62435 
>Unformatted:
