Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Call for testing "Attansic/Atheros L1 gigabit ethernet"



On Sat, Jan 17, 2009 at 01:26:14PM +0100, Christoph Egger wrote:
> Milos Negovanovic wrote:
> > On Sat, Jan 17, 2009 at 12:58:50PM +0100, Christoph Egger wrote:
> >> Hi,
> >>
> >> Yesterday, I ported a driver for
> >> Attansic/Atheros L1 gigabit ethernet device
> >> to NetBSD.
> >>
> >> This age(4) driver needs more testing.
> >>
> >> In order to test it, add to the kernel config
> >> file:
> >>
> >> age* at pci? dev ? function ?
> >> atphy* at mii? phy ?
> >>
> >>
> >> Christoph
> > 
> > I am interested in testing this driver in NetBSD 5 BETA. Copying the
> > relevant src files(if_age.c and if_agereg.h) is all that is necessary?
> 
> No, you need more to get the complete driver:
> 
> Copy the files: if_age.c, if_agereg.h and atphy.c
> 
> Apply the diffs:
> 
> cvs rdiff -r1.80 -r1.81 src/sys/dev/mii/miidevs
> cvs rdiff -r1.61 -r1.62 src/sys/dev/mii/mii_physubr.c
> cvs rdiff -r1.52 -r1.53 src/sys/dev/mii/miivar.h
> cvs rdiff -r1.41 -r1.42 src/sys/dev/mii/files.mii
> cvs rdiff -r1.310 -r1.312 src/sys/dev/pci/files.pci
> 
> and regenerate miidevs.h and miidevs_data.h
> 
> 
> Christoph

Hi,

I fallowed these instructions to backport this driver to netbsd-5 and I
get fallowing errors when trying to compile the netbsd-5 kernel:


--- atphy.o ---
../../../../dev/mii/atphy.c:95: error: 'MII_OUI_ATTANSIC' undeclared here (not 
in a function)
../../../../dev/mii/atphy.c:95: error: 'MII_MODEL_ATTANSIC_L1' undeclared here 
(not in a function)
../../../../dev/mii/atphy.c:96: error: 'MII_STR_ATTANSIC_L1' undeclared here 
(not in a function)
cc1: warnings being treated as errors
../../../../dev/mii/atphy.c:96: warning: missing initializer
../../../../dev/mii/atphy.c:96: warning: (near initialization for 
'etphys[1].mpd_oui')
--- attimer_acpi.o ---
--- atphy.o ---
*** [atphy.o] Error code 1


Are these instructions still valid?!

Regards
-- 
Milos Negovanovic
milos.negovanovic%googlemail.com@localhost


Home | Main Index | Thread Index | Old Index