Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dac2f83f authored by Krzysztof Halasa's avatar Krzysztof Halasa Committed by Jeff Garzik
Browse files

Driver for IXP4xx built-in Ethernet ports



Adds a driver for built-in IXP4xx Ethernet ports.

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 770f8679
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -448,7 +448,9 @@ int npe_send_message(struct npe *npe, const void *msg, const char *what)
		return -ETIMEDOUT;
	}

#if DEBUG_MSG > 1
	debug_msg(npe, "Sending a message took %i cycles\n", cycles);
#endif
	return 0;
}

@@ -484,7 +486,9 @@ int npe_recv_message(struct npe *npe, void *msg, const char *what)
		return -ETIMEDOUT;
	}

#if DEBUG_MSG > 1
	debug_msg(npe, "Receiving a message took %i cycles\n", cycles);
#endif
	return 0;
}

+2 −0
Original line number Diff line number Diff line
@@ -184,6 +184,8 @@ void qmgr_release_queue(unsigned int queue)
	case 3: mask[0] = 0xFF; break;
	}

	mask[1] = mask[2] = mask[3] = 0;

	while (addr--)
		shift_mask(mask);

+8 −0
Original line number Diff line number Diff line
@@ -47,3 +47,11 @@ config EP93XX_ETH
	help
	  This is a driver for the ethernet hardware included in EP93xx CPUs.
	  Say Y if you are building a kernel for EP93xx based devices.

config IXP4XX_ETH
	tristate "Intel IXP4xx Ethernet support"
	depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
	select MII
	help
	  Say Y here if you want to use built-in Ethernet ports
	  on IXP4xx processor.
+1 −0
Original line number Diff line number Diff line
@@ -9,3 +9,4 @@ obj-$(CONFIG_ARM_ETHER3) += ether3.o
obj-$(CONFIG_ARM_ETHER1)	+= ether1.o
obj-$(CONFIG_ARM_AT91_ETHER)	+= at91_ether.o
obj-$(CONFIG_EP93XX_ETH)	+= ep93xx_eth.o
obj-$(CONFIG_IXP4XX_ETH)	+= ixp4xx_eth.o
+1265 −0

File added.

Preview size limit exceeded, changes collapsed.