You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3454f83583
commit
8e95a2026f
+4
-4
@@ -249,11 +249,11 @@ static int __init el1_probe1(struct net_device *dev, int ioaddr)
|
||||
* for the Sager NP943 prefix.
|
||||
*/
|
||||
|
||||
if (station_addr[0] == 0x02 && station_addr[1] == 0x60
|
||||
&& station_addr[2] == 0x8c)
|
||||
if (station_addr[0] == 0x02 && station_addr[1] == 0x60 &&
|
||||
station_addr[2] == 0x8c)
|
||||
mname = "3c501";
|
||||
else if (station_addr[0] == 0x00 && station_addr[1] == 0x80
|
||||
&& station_addr[2] == 0xC8)
|
||||
else if (station_addr[0] == 0x00 && station_addr[1] == 0x80 &&
|
||||
station_addr[2] == 0xC8)
|
||||
mname = "NP943";
|
||||
else {
|
||||
release_region(ioaddr, EL1_IO_EXTENT);
|
||||
|
||||
+8
-7
@@ -214,8 +214,8 @@ el2_probe1(struct net_device *dev, int ioaddr)
|
||||
iobase_reg = inb(ioaddr+0x403);
|
||||
membase_reg = inb(ioaddr+0x404);
|
||||
/* ASIC location registers should be 0 or have only a single bit set. */
|
||||
if ( (iobase_reg & (iobase_reg - 1))
|
||||
|| (membase_reg & (membase_reg - 1))) {
|
||||
if ((iobase_reg & (iobase_reg - 1)) ||
|
||||
(membase_reg & (membase_reg - 1))) {
|
||||
retval = -ENODEV;
|
||||
goto out1;
|
||||
}
|
||||
@@ -291,8 +291,8 @@ el2_probe1(struct net_device *dev, int ioaddr)
|
||||
writel(0xba5eba5e, mem_base);
|
||||
for (i = sizeof(test_val); i < EL2_MEMSIZE; i+=sizeof(test_val)) {
|
||||
writel(test_val, mem_base + i);
|
||||
if (readl(mem_base) != 0xba5eba5e
|
||||
|| readl(mem_base + i) != test_val) {
|
||||
if (readl(mem_base) != 0xba5eba5e ||
|
||||
readl(mem_base + i) != test_val) {
|
||||
pr_warning("3c503: memory failure or memory address conflict.\n");
|
||||
dev->mem_start = 0;
|
||||
ei_status.name = "3c503-PIO";
|
||||
@@ -397,9 +397,10 @@ el2_open(struct net_device *dev)
|
||||
unsigned long cookie = probe_irq_on();
|
||||
outb_p(0x04 << ((*irqp == 9) ? 2 : *irqp), E33G_IDCFR);
|
||||
outb_p(0x00, E33G_IDCFR);
|
||||
if (*irqp == probe_irq_off(cookie) /* It's a good IRQ line! */
|
||||
&& ((retval = request_irq(dev->irq = *irqp,
|
||||
eip_interrupt, 0, dev->name, dev)) == 0))
|
||||
if (*irqp == probe_irq_off(cookie) && /* It's a good IRQ line! */
|
||||
((retval = request_irq(dev->irq = *irqp,
|
||||
eip_interrupt, 0,
|
||||
dev->name, dev)) == 0))
|
||||
break;
|
||||
} else {
|
||||
if (retval != -EBUSY)
|
||||
|
||||
+2
-2
@@ -836,8 +836,8 @@ static void el16_rx(struct net_device *dev)
|
||||
void __iomem *data_frame = lp->base + data_buffer_addr;
|
||||
ushort pkt_len = readw(data_frame);
|
||||
|
||||
if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22
|
||||
|| (pkt_len & 0xC000) != 0xC000) {
|
||||
if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 ||
|
||||
(pkt_len & 0xC000) != 0xC000) {
|
||||
pr_err("%s: Rx frame at %#x corrupted, "
|
||||
"status %04x cmd %04x next %04x "
|
||||
"data-buf @%04x %04x.\n",
|
||||
|
||||
+5
-5
@@ -253,9 +253,9 @@ static int el3_isa_id_sequence(__be16 *phys_addr)
|
||||
This check is needed in order not to register them twice. */
|
||||
for (i = 0; i < el3_cards; i++) {
|
||||
struct el3_private *lp = netdev_priv(el3_devs[i]);
|
||||
if (lp->type == EL3_PNP
|
||||
&& !memcmp(phys_addr, el3_devs[i]->dev_addr,
|
||||
ETH_ALEN)) {
|
||||
if (lp->type == EL3_PNP &&
|
||||
!memcmp(phys_addr, el3_devs[i]->dev_addr,
|
||||
ETH_ALEN)) {
|
||||
if (el3_debug > 3)
|
||||
pr_debug("3c509 with address %02x %02x %02x %02x %02x %02x was found by ISAPnP\n",
|
||||
phys_addr[0] & 0xff, phys_addr[0] >> 8,
|
||||
@@ -835,8 +835,8 @@ el3_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
#ifndef final_version
|
||||
{ /* Error-checking code, delete someday. */
|
||||
ushort status = inw(ioaddr + EL3_STATUS);
|
||||
if (status & 0x0001 /* IRQ line active, missed one. */
|
||||
&& inw(ioaddr + EL3_STATUS) & 1) { /* Make sure. */
|
||||
if (status & 0x0001 && /* IRQ line active, missed one. */
|
||||
inw(ioaddr + EL3_STATUS) & 1) { /* Make sure. */
|
||||
pr_debug("%s: Missed interrupt, status then %04x now %04x"
|
||||
" Tx %2.2x Rx %4.4x.\n", dev->name, status,
|
||||
inw(ioaddr + EL3_STATUS), inb(ioaddr + TX_STATUS),
|
||||
|
||||
+7
-6
@@ -764,10 +764,11 @@ static int corkscrew_open(struct net_device *dev)
|
||||
/* Use the now-standard shared IRQ implementation. */
|
||||
if (vp->capabilities == 0x11c7) {
|
||||
/* Corkscrew: Cannot share ISA resources. */
|
||||
if (dev->irq == 0
|
||||
|| dev->dma == 0
|
||||
|| request_irq(dev->irq, corkscrew_interrupt, 0,
|
||||
vp->product_name, dev)) return -EAGAIN;
|
||||
if (dev->irq == 0 ||
|
||||
dev->dma == 0 ||
|
||||
request_irq(dev->irq, corkscrew_interrupt, 0,
|
||||
vp->product_name, dev))
|
||||
return -EAGAIN;
|
||||
enable_dma(dev->dma);
|
||||
set_dma_mode(dev->dma, DMA_MODE_CASCADE);
|
||||
} else if (request_irq(dev->irq, corkscrew_interrupt, IRQF_SHARED,
|
||||
@@ -1368,8 +1369,8 @@ static int boomerang_rx(struct net_device *dev)
|
||||
|
||||
/* Check if the packet is long enough to just accept without
|
||||
copying to a properly sized skbuff. */
|
||||
if (pkt_len < rx_copybreak
|
||||
&& (skb = dev_alloc_skb(pkt_len + 4)) != NULL) {
|
||||
if (pkt_len < rx_copybreak &&
|
||||
(skb = dev_alloc_skb(pkt_len + 4)) != NULL) {
|
||||
skb_reserve(skb, 2); /* Align IP on 16 byte boundaries */
|
||||
/* 'skb_put()' points to the start of sk_buff data area. */
|
||||
memcpy(skb_put(skb, pkt_len),
|
||||
|
||||
+2
-2
@@ -1168,8 +1168,8 @@ static void mc32_rx_ring(struct net_device *dev)
|
||||
|
||||
/* Try to save time by avoiding a copy on big frames */
|
||||
|
||||
if ((length > RX_COPYBREAK)
|
||||
&& ((newskb=dev_alloc_skb(1532)) != NULL))
|
||||
if ((length > RX_COPYBREAK) &&
|
||||
((newskb=dev_alloc_skb(1532)) != NULL))
|
||||
{
|
||||
skb=lp->rx_ring[rx_ring_tail].skb;
|
||||
skb_put(skb, length);
|
||||
|
||||
+2
-2
@@ -1942,8 +1942,8 @@ vortex_error(struct net_device *dev, int status)
|
||||
if (status & TxComplete) { /* Really "TxError" for us. */
|
||||
tx_status = ioread8(ioaddr + TxStatus);
|
||||
/* Presumably a tx-timeout. We must merely re-enable. */
|
||||
if (vortex_debug > 2
|
||||
|| (tx_status != 0x88 && vortex_debug > 0)) {
|
||||
if (vortex_debug > 2 ||
|
||||
(tx_status != 0x88 && vortex_debug > 0)) {
|
||||
pr_err("%s: Transmit error, Tx status register %2.2x.\n",
|
||||
dev->name, tx_status);
|
||||
if (tx_status == 0x82) {
|
||||
|
||||
@@ -909,8 +909,8 @@ static void __cp_set_rx_mode (struct net_device *dev)
|
||||
AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
|
||||
AcceptAllPhys;
|
||||
mc_filter[1] = mc_filter[0] = 0xffffffff;
|
||||
} else if ((dev->mc_count > multicast_filter_limit)
|
||||
|| (dev->flags & IFF_ALLMULTI)) {
|
||||
} else if ((dev->mc_count > multicast_filter_limit) ||
|
||||
(dev->flags & IFF_ALLMULTI)) {
|
||||
/* Too many to filter perfectly -- accept all multicasts. */
|
||||
rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
|
||||
mc_filter[1] = mc_filter[0] = 0xffffffff;
|
||||
|
||||
@@ -1549,8 +1549,8 @@ static inline void rtl8139_thread_iter (struct net_device *dev,
|
||||
mii_lpa = mdio_read (dev, tp->phys[0], MII_LPA);
|
||||
|
||||
if (!tp->mii.force_media && mii_lpa != 0xffff) {
|
||||
int duplex = (mii_lpa & LPA_100FULL)
|
||||
|| (mii_lpa & 0x01C0) == 0x0040;
|
||||
int duplex = ((mii_lpa & LPA_100FULL) ||
|
||||
(mii_lpa & 0x01C0) == 0x0040);
|
||||
if (tp->mii.full_duplex != duplex) {
|
||||
tp->mii.full_duplex = duplex;
|
||||
|
||||
@@ -1936,8 +1936,8 @@ static int rtl8139_rx(struct net_device *dev, struct rtl8139_private *tp,
|
||||
RTL_R16 (RxBufAddr),
|
||||
RTL_R16 (RxBufPtr), RTL_R8 (ChipCmd));
|
||||
|
||||
while (netif_running(dev) && received < budget
|
||||
&& (RTL_R8 (ChipCmd) & RxBufEmpty) == 0) {
|
||||
while (netif_running(dev) && received < budget &&
|
||||
(RTL_R8 (ChipCmd) & RxBufEmpty) == 0) {
|
||||
u32 ring_offset = cur_rx % RX_BUF_LEN;
|
||||
u32 rx_status;
|
||||
unsigned int pkt_size;
|
||||
@@ -2521,8 +2521,8 @@ static void __set_rx_mode (struct net_device *dev)
|
||||
AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
|
||||
AcceptAllPhys;
|
||||
mc_filter[1] = mc_filter[0] = 0xffffffff;
|
||||
} else if ((dev->mc_count > multicast_filter_limit)
|
||||
|| (dev->flags & IFF_ALLMULTI)) {
|
||||
} else if ((dev->mc_count > multicast_filter_limit) ||
|
||||
(dev->flags & IFF_ALLMULTI)) {
|
||||
/* Too many to filter perfectly -- accept all multicasts. */
|
||||
rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
|
||||
mc_filter[1] = mc_filter[0] = 0xffffffff;
|
||||
|
||||
@@ -230,9 +230,9 @@ static int ipddp_delete(struct ipddp_route *rt)
|
||||
spin_lock_bh(&ipddp_route_lock);
|
||||
while((tmp = *r) != NULL)
|
||||
{
|
||||
if(tmp->ip == rt->ip
|
||||
&& tmp->at.s_net == rt->at.s_net
|
||||
&& tmp->at.s_node == rt->at.s_node)
|
||||
if(tmp->ip == rt->ip &&
|
||||
tmp->at.s_net == rt->at.s_net &&
|
||||
tmp->at.s_node == rt->at.s_node)
|
||||
{
|
||||
*r = tmp->next;
|
||||
spin_unlock_bh(&ipddp_route_lock);
|
||||
@@ -255,9 +255,9 @@ static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt)
|
||||
|
||||
for(f = ipddp_route_list; f != NULL; f = f->next)
|
||||
{
|
||||
if(f->ip == rt->ip
|
||||
&& f->at.s_net == rt->at.s_net
|
||||
&& f->at.s_node == rt->at.s_node)
|
||||
if(f->ip == rt->ip &&
|
||||
f->at.s_net == rt->at.s_net &&
|
||||
f->at.s_node == rt->at.s_node)
|
||||
return (f);
|
||||
}
|
||||
|
||||
|
||||
@@ -174,9 +174,9 @@ static int __init arcrimi_found(struct net_device *dev)
|
||||
* 2k (or there are no mirrors at all) but on some, it's 4k.
|
||||
*/
|
||||
mirror_size = MIRROR_SIZE;
|
||||
if (readb(p) == TESTvalue
|
||||
&& check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0
|
||||
&& check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1)
|
||||
if (readb(p) == TESTvalue &&
|
||||
check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 &&
|
||||
check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1)
|
||||
mirror_size = 2 * MIRROR_SIZE;
|
||||
|
||||
first_mirror = shmem - mirror_size;
|
||||
|
||||
@@ -301,8 +301,8 @@ static int choose_mtu(void)
|
||||
|
||||
/* choose the smallest MTU of all available encaps */
|
||||
for (count = 0; count < 256; count++) {
|
||||
if (arc_proto_map[count] != &arc_proto_null
|
||||
&& arc_proto_map[count]->mtu < mtu) {
|
||||
if (arc_proto_map[count] != &arc_proto_null &&
|
||||
arc_proto_map[count]->mtu < mtu) {
|
||||
mtu = arc_proto_map[count]->mtu;
|
||||
}
|
||||
}
|
||||
@@ -953,13 +953,13 @@ irqreturn_t arcnet_interrupt(int irq, void *dev_id)
|
||||
* > RECON_THRESHOLD/min;
|
||||
* then print a warning message.
|
||||
*/
|
||||
if (!lp->network_down
|
||||
&& (lp->last_recon - lp->first_recon) <= HZ * 60
|
||||
&& lp->num_recons >= RECON_THRESHOLD) {
|
||||
if (!lp->network_down &&
|
||||
(lp->last_recon - lp->first_recon) <= HZ * 60 &&
|
||||
lp->num_recons >= RECON_THRESHOLD) {
|
||||
lp->network_down = 1;
|
||||
BUGMSG(D_NORMAL, "many reconfigurations detected: cabling problem?\n");
|
||||
} else if (!lp->network_down
|
||||
&& lp->last_recon - lp->first_recon > HZ * 60) {
|
||||
} else if (!lp->network_down &&
|
||||
lp->last_recon - lp->first_recon > HZ * 60) {
|
||||
/* reset counters if we've gone for over a minute. */
|
||||
lp->first_recon = lp->last_recon;
|
||||
lp->num_recons = 1;
|
||||
|
||||
@@ -350,13 +350,13 @@ static int __init at1700_probe1(struct net_device *dev, int ioaddr)
|
||||
slot = -1;
|
||||
/* We must check for the EEPROM-config boards first, else accessing
|
||||
IOCONFIG0 will move the board! */
|
||||
if (at1700_probe_list[inb(ioaddr + IOCONFIG1) & 0x07] == ioaddr
|
||||
&& read_eeprom(ioaddr, 4) == 0x0000
|
||||
&& (read_eeprom(ioaddr, 5) & 0xff00) == 0xF400)
|
||||
if (at1700_probe_list[inb(ioaddr + IOCONFIG1) & 0x07] == ioaddr &&
|
||||
read_eeprom(ioaddr, 4) == 0x0000 &&
|
||||
(read_eeprom(ioaddr, 5) & 0xff00) == 0xF400)
|
||||
is_at1700 = 1;
|
||||
else if (inb(ioaddr + SAPROM ) == 0x00
|
||||
&& inb(ioaddr + SAPROM + 1) == 0x00
|
||||
&& inb(ioaddr + SAPROM + 2) == 0x0e)
|
||||
else if (inb(ioaddr + SAPROM ) == 0x00 &&
|
||||
inb(ioaddr + SAPROM + 1) == 0x00 &&
|
||||
inb(ioaddr + SAPROM + 2) == 0x0e)
|
||||
is_fmv18x = 1;
|
||||
else {
|
||||
goto err_out;
|
||||
@@ -839,8 +839,8 @@ set_rx_mode(struct net_device *dev)
|
||||
if (dev->flags & IFF_PROMISC) {
|
||||
memset(mc_filter, 0xff, sizeof(mc_filter));
|
||||
outb(3, ioaddr + RX_MODE); /* Enable promiscuous mode */
|
||||
} else if (dev->mc_count > MC_FILTERBREAK
|
||||
|| (dev->flags & IFF_ALLMULTI)) {
|
||||
} else if (dev->mc_count > MC_FILTERBREAK ||
|
||||
(dev->flags & IFF_ALLMULTI)) {
|
||||
/* Too many to filter perfectly -- accept all multicasts. */
|
||||
memset(mc_filter, 0xff, sizeof(mc_filter));
|
||||
outb(2, ioaddr + RX_MODE); /* Use normal mode. */
|
||||
|
||||
@@ -930,8 +930,8 @@ static irqreturn_t lance_interrupt( int irq, void *dev_id )
|
||||
}
|
||||
#endif
|
||||
|
||||
if (lp->tx_full && (netif_queue_stopped(dev))
|
||||
&& dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) {
|
||||
if (lp->tx_full && (netif_queue_stopped(dev)) &&
|
||||
dirty_tx > lp->cur_tx - TX_RING_SIZE + 2) {
|
||||
/* The ring is no longer full, clear tbusy. */
|
||||
lp->tx_full = 0;
|
||||
netif_wake_queue (dev);
|
||||
|
||||
@@ -1344,8 +1344,8 @@ static u32 atl1_check_link(struct atl1_adapter *adapter)
|
||||
|
||||
/* link result is our setting */
|
||||
if (!reconfig) {
|
||||
if (adapter->link_speed != speed
|
||||
|| adapter->link_duplex != duplex) {
|
||||
if (adapter->link_speed != speed ||
|
||||
adapter->link_duplex != duplex) {
|
||||
adapter->link_speed = speed;
|
||||
adapter->link_duplex = duplex;
|
||||
atl1_setup_mac_ctrl(adapter);
|
||||
@@ -2087,8 +2087,8 @@ static void atl1_intr_tx(struct atl1_adapter *adapter)
|
||||
}
|
||||
atomic_set(&tpd_ring->next_to_clean, sw_tpd_next_to_clean);
|
||||
|
||||
if (netif_queue_stopped(adapter->netdev)
|
||||
&& netif_carrier_ok(adapter->netdev))
|
||||
if (netif_queue_stopped(adapter->netdev) &&
|
||||
netif_carrier_ok(adapter->netdev))
|
||||
netif_wake_queue(adapter->netdev);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -673,8 +673,8 @@ static irqreturn_t atp_interrupt(int irq, void *dev_instance)
|
||||
netif_wake_queue(dev); /* Inform upper layers. */
|
||||
}
|
||||
num_tx_since_rx++;
|
||||
} else if (num_tx_since_rx > 8
|
||||
&& time_after(jiffies, dev->last_rx + HZ)) {
|
||||
} else if (num_tx_since_rx > 8 &&
|
||||
time_after(jiffies, dev->last_rx + HZ)) {
|
||||
if (net_debug > 2)
|
||||
printk(KERN_DEBUG "%s: Missed packet? No Rx after %d Tx and "
|
||||
"%ld jiffies status %02x CMR1 %02x.\n", dev->name,
|
||||
|
||||
@@ -2382,8 +2382,8 @@ static struct pci_driver be_driver = {
|
||||
|
||||
static int __init be_init_module(void)
|
||||
{
|
||||
if (rx_frag_size != 8192 && rx_frag_size != 4096
|
||||
&& rx_frag_size != 2048) {
|
||||
if (rx_frag_size != 8192 && rx_frag_size != 4096 &&
|
||||
rx_frag_size != 2048) {
|
||||
printk(KERN_WARNING DRV_NAME
|
||||
" : Module param rx_frag_size must be 2048/4096/8192."
|
||||
" Using 2048\n");
|
||||
|
||||
@@ -554,8 +554,8 @@ static void adjust_tx_list(void)
|
||||
{
|
||||
int timeout_cnt = MAX_TIMEOUT_CNT;
|
||||
|
||||
if (tx_list_head->status.status_word != 0
|
||||
&& current_tx_ptr != tx_list_head) {
|
||||
if (tx_list_head->status.status_word != 0 &&
|
||||
current_tx_ptr != tx_list_head) {
|
||||
goto adjust_head; /* released something, just return; */
|
||||
}
|
||||
|
||||
@@ -567,8 +567,8 @@ static void adjust_tx_list(void)
|
||||
if (current_tx_ptr->next->next == tx_list_head) {
|
||||
while (tx_list_head->status.status_word == 0) {
|
||||
udelay(10);
|
||||
if (tx_list_head->status.status_word != 0
|
||||
|| !(bfin_read_DMA2_IRQ_STATUS() & DMA_RUN)) {
|
||||
if (tx_list_head->status.status_word != 0 ||
|
||||
!(bfin_read_DMA2_IRQ_STATUS() & DMA_RUN)) {
|
||||
goto adjust_head;
|
||||
}
|
||||
if (timeout_cnt-- < 0) {
|
||||
@@ -596,8 +596,8 @@ adjust_head:
|
||||
": no sk_buff in a transmitted frame!\n");
|
||||
}
|
||||
tx_list_head = tx_list_head->next;
|
||||
} while (tx_list_head->status.status_word != 0
|
||||
&& current_tx_ptr != tx_list_head);
|
||||
} while (tx_list_head->status.status_word != 0 &&
|
||||
current_tx_ptr != tx_list_head);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -438,8 +438,8 @@ bmac_init_phy(struct net_device *dev)
|
||||
|
||||
ctrl = bmac_mif_read(dev, 0);
|
||||
capable = ((bmac_mif_read(dev, 1) & 0xf800) >> 6) | 1;
|
||||
if (bmac_mif_read(dev, 4) != capable
|
||||
|| (ctrl & 0x1000) == 0) {
|
||||
if (bmac_mif_read(dev, 4) != capable ||
|
||||
(ctrl & 0x1000) == 0) {
|
||||
bmac_mif_write(dev, 4, capable);
|
||||
bmac_mif_write(dev, 0, 0x1200);
|
||||
} else
|
||||
|
||||
@@ -4717,8 +4717,8 @@ static u8 bnx2x_ext_phy_is_link_up(struct link_params *params,
|
||||
0xc809, &val1);
|
||||
|
||||
DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1);
|
||||
ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9))
|
||||
&& ((val1 & (1<<8)) == 0));
|
||||
ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) &&
|
||||
((val1 & (1<<8)) == 0));
|
||||
if (ext_phy_link_up)
|
||||
vars->line_speed = SPEED_10000;
|
||||
break;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user