Hi !
> I tried adding an alc device to my src/sys/pci/files.pci - and that makes
> the config go ahead, but if_alc.c does not compile
> I'm not on a "current" system yet, is it possible that alc is listed for
> i386 src/sys/dev/pci/files.pci on the current kernel?
These patches were for "current". The file alc2.patch should modify
sys/pci/files.pci by itself.
Since I used linguistic tricks to "translate" OpenBSD version of
if_alc.c into an almost working NetBSD version (I know nothing about
kernel drivers, networking and so on), and since these recipes were
based on "current" drivers, I can't help you to port into non-CURRENT
kernel.
Good luck
--
Pierre
2010/6/1 fire crow <
fire%firecrow.com@localhost>:
>> It should create new "src/sys/dev/pci/pcidevs.h" and
>> "src/sys/dev/pci/pcidevs_data.h"
>
>> They should contain some new lines for the new device.
>
> it does create a new pcidevs.h, and the hex code of the device is then
> listed and matches what I see in dmesg 0x0163 I believe,
> but "alc" is not mentioned
> I tried adding an alc device to my src/sys/pci/files.pci - and that makes
> the config go ahead, but if_alc.c does not compile
> I'm not on a "current" system yet, is it possible that alc is listed for
> i386 src/sys/dev/pci/files.pci on the current kernel?
> ~fire crow
>
> computer programmer
>
fire%firecrow.com@localhost : 917.306.9451
>
http://firecrow.com : New York City, USA
>
>
>
>
> On Tue, Jun 1, 2010 at 1:27 PM, Jeremy C. Reed <
reed%reedmedia.net@localhost> wrote:
>>
>> On Sat, 29 May 2010,
fire%firecrow.com@localhost wrote:
>>
>> > > Did you do the
>> > > make -f Makefile.pcidevs
>> > > in src/sys/dev/pci ?
>> > Yeah, but not sure how to confirm that it was successfull.
>> >
>> > What should I look for, what does make -f Makefile.pcidevs, generate?
>>
>> It should create new "src/sys/dev/pci/pcidevs.h" and
>> "src/sys/dev/pci/pcidevs_data.h"
>>
>> They should contain some new lines for the new device.
>
>
>
> --
> ~fire crow
>
>
fire%firecrow.com@localhost : 917.306.9451
>
http://firecrow.com : New York City, USA
> computer programmer
>