* Re: Asante 10/100 Rev. b now working!
[not found] <37DE273B.97EB1DBC@earthlink.net>
@ 1999-09-15 2:44 ` Chris Baker
0 siblings, 0 replies; 2+ messages in thread
From: Chris Baker @ 1999-09-15 2:44 UTC (permalink / raw)
To: space19; +Cc: linuxppc-user, linuxppc-dev
Shawn Anderson <space19@earthlink.net> writes:
> Forwarded from the linux-tulip mailing list:
[...]
> That's the problem.
> The pre-0.91j Tulip drivers work on the PowerPC, but used the descriptor
> byte-swapping feature of the Tulip so that the driver wouldn't need to
> byte
> swap on the PPC. (It still must in the setup, but not during
> operation.)
>
> But the most of the Tulip clones, including the PNIC, didn't both to
> implement the byte-swap feature.
>
> I used to advise just buying a real Tulip board. But I decided that I
> had
> spent way too much answering "bug" reports, and it was only going to get
> worse with the increasing number of clone chips. So the v0.91j and
> later
> drivers have explicit byte swapping.
>
> Get the new driver from
> http://cesdis.gsfc.nasa.gov/linux/drivers/kern-2.3/index.html
> ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/
>
> You *must* get the new support files (k_compat.h pci-netif.[ch]) as
> well!
This is great! This should also help all the Pacbell DSL customers
that got free KNE110's. Shawn, thanks for tracking this down.
Anyway, now the bad news: I'm running R4 on the machine in question.
When I try to compile pci-netif.c I get the following output:
pci-netif.c: In function `pci_find_capability':
pci-netif.c:342: `PCI_STATUS_CAP_LIST' undeclared (first use this function)
pci-netif.c:342: (Each undeclared identifier is reported only once
pci-netif.c:342: for each function it appears in.)
pci-netif.c:344: `PCI_CAPABILITY_LIST' undeclared (first use this function)
pci-netif.c: In function `acpi_wake':
pci-netif.c:364: `PCI_CAP_ID_PM' undeclared (first use this function)
pci-netif.c: In function `acpi_set_pwr_state':
pci-netif.c:396: `PCI_CAP_ID_PM' undeclared (first use this function)
The rest of the package seems to be designed to work with older
kernels (I'm using 2.1.130), so I suspect that this is a ppc specific
problem. Does anyone have any ideas?
TIA,
cbb
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Asante 10/100 Rev. b now working!
@ 1999-09-15 22:35 Ira K Weiny
0 siblings, 0 replies; 2+ messages in thread
From: Ira K Weiny @ 1999-09-15 22:35 UTC (permalink / raw)
To: bakerc; +Cc: linuxdev
This should be defined here.
pci-netif.c:
#if (LINUX_VERSION_CODE >= 0x20100)
char kernel_version[] = UTS_RELEASE;
#else
#define PCI_CAPABILITY_LIST 0x34 /* Offset of first capability list entry */
#define PCI_STATUS_CAP_LIST 0x10 /* Support Capability List */
#define PCI_CAP_ID_PM 0x01 /* Power Management */
#endif
Check LINUX_VERSION_CODE in /usr/src/linux/include/linux/version.h
And then /usr/src/linux/include/linux/pci.h for PCI_STATUS_CAP_LIST
Either way PCI_STATUS... Should be defined.
Maybe you don't have the kernel headers installed?
Just a guess.
Ira Weiny
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-09-15 22:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <37DE273B.97EB1DBC@earthlink.net>
1999-09-15 2:44 ` Asante 10/100 Rev. b now working! Chris Baker
1999-09-15 22:35 Ira K Weiny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).