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

Commit df694712 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'davem-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

parents d994af0d 17393dd6
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -337,6 +337,11 @@ typedef struct scc_param {
	uint	scc_tcrc;	/* Internal */
	uint	scc_tcrc;	/* Internal */
} sccp_t;
} sccp_t;


/* Function code bits.
*/
#define SCC_EB	((u_char) 0x10)	/* Set big endian byte order */
#define SCC_GBL	((u_char) 0x20) /* Snooping enabled */

/* CPM Ethernet through SCC1.
/* CPM Ethernet through SCC1.
 */
 */
typedef struct scc_enet {
typedef struct scc_enet {
+3 −3
Original line number Original line Diff line number Diff line
@@ -822,14 +822,14 @@ config ULTRA32
	  will be called smc-ultra32.
	  will be called smc-ultra32.


config BFIN_MAC
config BFIN_MAC
	tristate "Blackfin 527/536/537 on-chip mac support"
	tristate "Blackfin on-chip MAC support"
	depends on NET_ETHERNET && (BF527 || BF537 || BF536)
	depends on NET_ETHERNET && (BF526 || BF527 || BF536 || BF537)
	select CRC32
	select CRC32
	select MII
	select MII
	select PHYLIB
	select PHYLIB
	select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
	select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
	help
	help
	  This is the driver for blackfin on-chip mac device. Say Y if you want it
	  This is the driver for Blackfin on-chip mac device. Say Y if you want it
	  compiled into the kernel. This driver is also available as a module
	  compiled into the kernel. This driver is also available as a module
	  ( = code which can be inserted in and removed from the running kernel
	  ( = code which can be inserted in and removed from the running kernel
	  whenever you want). The module will be called bfin_mac.
	  whenever you want). The module will be called bfin_mac.
+2 −1
Original line number Original line Diff line number Diff line
@@ -2232,10 +2232,11 @@ static int atl1e_resume(struct pci_dev *pdev)


	AT_WRITE_REG(&adapter->hw, REG_WOL_CTRL, 0);
	AT_WRITE_REG(&adapter->hw, REG_WOL_CTRL, 0);


	if (netif_running(netdev))
	if (netif_running(netdev)) {
		err = atl1e_request_irq(adapter);
		err = atl1e_request_irq(adapter);
		if (err)
		if (err)
			return err;
			return err;
	}


	atl1e_reset_hw(&adapter->hw);
	atl1e_reset_hw(&adapter->hw);


+0 −1
Original line number Original line Diff line number Diff line
@@ -3022,7 +3022,6 @@ static int __devinit atl1_probe(struct pci_dev *pdev,
	netdev->features = NETIF_F_HW_CSUM;
	netdev->features = NETIF_F_HW_CSUM;
	netdev->features |= NETIF_F_SG;
	netdev->features |= NETIF_F_SG;
	netdev->features |= (NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX);
	netdev->features |= (NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX);
	netdev->features |= NETIF_F_TSO;
	netdev->features |= NETIF_F_LLTX;
	netdev->features |= NETIF_F_LLTX;


	/*
	/*
+2 −2
Original line number Original line Diff line number Diff line
@@ -1838,7 +1838,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
		if ((le16_to_cpu(rfd->command) & cb_el) &&
		if ((le16_to_cpu(rfd->command) & cb_el) &&
		    (RU_RUNNING == nic->ru_running))
		    (RU_RUNNING == nic->ru_running))


			if (readb(&nic->csr->scb.status) & rus_no_res)
			if (ioread8(&nic->csr->scb.status) & rus_no_res)
				nic->ru_running = RU_SUSPENDED;
				nic->ru_running = RU_SUSPENDED;
		return -ENODATA;
		return -ENODATA;
	}
	}
@@ -1861,7 +1861,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
	if ((le16_to_cpu(rfd->command) & cb_el) &&
	if ((le16_to_cpu(rfd->command) & cb_el) &&
	    (RU_RUNNING == nic->ru_running)) {
	    (RU_RUNNING == nic->ru_running)) {


	    if (readb(&nic->csr->scb.status) & rus_no_res)
	    if (ioread8(&nic->csr->scb.status) & rus_no_res)
		nic->ru_running = RU_SUSPENDED;
		nic->ru_running = RU_SUSPENDED;
	}
	}


Loading