OpenCloudOS-Kernel/drivers/net/ethernet/3com
Linus Torvalds db71f8fb44 3com 3c515: make it compile on 64-bit architectures
This driver isn't enabled most places because of the ISA config
dependency, but alpha still has it.  And I think the 'Jensen' actually
did have an ISA slot.

However, it doesn't build cleanly, because the "Vortex bus master" code
just casts the skb->data pointer to 'int':

        outl((int) (skb->data), ioaddr + Wn7_MasterAddr);

which is all kinds of broken.  Even on a good old traditional PC/AT it
would be broken because the high bits will be random kernel address
bits, but presumably the hardware ignores those bits.  I mean, it's ISA.
We're talking 16MB dma limits. The "good old days".

Make the build happy with this kind of craziness by using the proper
isa_virt_to_bus() handling that the full bus master code uses anyway
(the Vortex bus mastering is a limited special case).

Who knows, this might even work.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-16 11:14:47 -07:00
..
3c59x.c net: 3com: 3c59x: clean up inconsistent indenting 2021-09-03 11:51:26 +01:00
3c509.c 3c509: stop calling netdev_boot_setup_check 2021-08-03 13:05:25 +01:00
3c515.c 3com 3c515: make it compile on 64-bit architectures 2021-09-16 11:14:47 -07:00
3c574_cs.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
3c589_cs.c net/3com: Delete driver and module versions from 3com drivers 2020-02-24 11:23:36 -08:00
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
typhoon.c networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
typhoon.h net: typhoon: Fix a typo Typoon --> Typhoon 2020-10-03 17:23:02 -07:00