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:

[snip]

Things have been changed since I wrote that mail.
Before you regenerate miidevs.h and miidevs_data.h,
additionally take this diff:

cvs rdiff -r1.82 -r1.83 src/sys/dev/mii/miidevs

This will fix your build problem.


Home | Main Index | Thread Index | Old Index