diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-24 13:15:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-24 13:15:13 -0400 |
commit | a319a2773a13bab56a0d0b3744ba8703324313b5 (patch) | |
tree | f02c86acabd1031439fd422a167784007e84ebb1 /drivers/net/sunhme.c | |
parent | e18fa700c9a31360bc8f193aa543b7ef7b39a06b (diff) | |
parent | 183798799216fad36c7219fe8d4d6dee6b8fa755 (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (217 commits)
net/ieee80211: fix more crypto-related build breakage
[PATCH] Spidernet: add ethtool -S (show statistics)
[NET] GT96100: Delete bitrotting ethernet driver
[PATCH] mv643xx_eth: restrict to 32-bit PPC_MULTIPLATFORM
[PATCH] Cirrus Logic ep93xx ethernet driver
r8169: the MMIO region of the 8167 stands behin BAR#1
e1000, ixgb: Remove pointless wrappers
[PATCH] Remove powerpc specific parts of 3c509 driver
[PATCH] s2io: Switch to pci_get_device
[PATCH] gt96100: move to pci_get_device API
[PATCH] ehea: bugfix for register access functions
[PATCH] e1000 disable device on PCI error
drivers/net/phy/fixed: #if 0 some incomplete code
drivers/net: const-ify ethtool_ops declarations
[PATCH] ethtool: allow const ethtool_ops
[PATCH] sky2: big endian
[PATCH] sky2: fiber support
[PATCH] sky2: tx pause bug fix
drivers/net: Trim trailing whitespace
[PATCH] ehea: IBM eHEA Ethernet Device Driver
...
Manually resolved conflicts in drivers/net/ixgb/ixgb_main.c and
drivers/net/sky2.c related to CHECKSUM_HW/CHECKSUM_PARTIAL changes by
commit 84fa7933a33f806bbbaae6775e87459b1ec584c0 that just happened to be
next to unrelated changes in this update.
Diffstat (limited to 'drivers/net/sunhme.c')
-rw-r--r-- | drivers/net/sunhme.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index 17981da22730..f05eea53623b 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c | |||
@@ -505,7 +505,7 @@ static void happy_meal_tcvr_write(struct happy_meal *hp, | |||
505 | unsigned short value) | 505 | unsigned short value) |
506 | { | 506 | { |
507 | int tries = TCVR_WRITE_TRIES; | 507 | int tries = TCVR_WRITE_TRIES; |
508 | 508 | ||
509 | ASD(("happy_meal_tcvr_write: reg=0x%02x value=%04x\n", reg, value)); | 509 | ASD(("happy_meal_tcvr_write: reg=0x%02x value=%04x\n", reg, value)); |
510 | 510 | ||
511 | /* Welcome to Sun Microsystems, can I take your order please? */ | 511 | /* Welcome to Sun Microsystems, can I take your order please? */ |
@@ -1778,7 +1778,7 @@ static void happy_meal_set_initial_advertisement(struct happy_meal *hp) | |||
1778 | static int happy_meal_is_not_so_happy(struct happy_meal *hp, u32 status) | 1778 | static int happy_meal_is_not_so_happy(struct happy_meal *hp, u32 status) |
1779 | { | 1779 | { |
1780 | int reset = 0; | 1780 | int reset = 0; |
1781 | 1781 | ||
1782 | /* Only print messages for non-counter related interrupts. */ | 1782 | /* Only print messages for non-counter related interrupts. */ |
1783 | if (status & (GREG_STAT_STSTERR | GREG_STAT_TFIFO_UND | | 1783 | if (status & (GREG_STAT_STSTERR | GREG_STAT_TFIFO_UND | |
1784 | GREG_STAT_MAXPKTERR | GREG_STAT_RXERR | | 1784 | GREG_STAT_MAXPKTERR | GREG_STAT_RXERR | |
@@ -2512,7 +2512,7 @@ static u32 hme_get_link(struct net_device *dev) | |||
2512 | return (hp->sw_bmsr & BMSR_LSTATUS); | 2512 | return (hp->sw_bmsr & BMSR_LSTATUS); |
2513 | } | 2513 | } |
2514 | 2514 | ||
2515 | static struct ethtool_ops hme_ethtool_ops = { | 2515 | static const struct ethtool_ops hme_ethtool_ops = { |
2516 | .get_settings = hme_get_settings, | 2516 | .get_settings = hme_get_settings, |
2517 | .set_settings = hme_set_settings, | 2517 | .set_settings = hme_set_settings, |
2518 | .get_drvinfo = hme_get_drvinfo, | 2518 | .get_drvinfo = hme_get_drvinfo, |
@@ -3002,7 +3002,7 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev, | |||
3002 | printk(KERN_ERR "happymeal(PCI): Some PCI device info missing\n"); | 3002 | printk(KERN_ERR "happymeal(PCI): Some PCI device info missing\n"); |
3003 | return -ENODEV; | 3003 | return -ENODEV; |
3004 | } | 3004 | } |
3005 | 3005 | ||
3006 | strcpy(prom_name, pcp->prom_node->name); | 3006 | strcpy(prom_name, pcp->prom_node->name); |
3007 | #else | 3007 | #else |
3008 | if (is_quattro_p(pdev)) | 3008 | if (is_quattro_p(pdev)) |
@@ -3046,7 +3046,7 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev, | |||
3046 | hp->qfe_parent = qp; | 3046 | hp->qfe_parent = qp; |
3047 | hp->qfe_ent = qfe_slot; | 3047 | hp->qfe_ent = qfe_slot; |
3048 | qp->happy_meals[qfe_slot] = dev; | 3048 | qp->happy_meals[qfe_slot] = dev; |
3049 | } | 3049 | } |
3050 | 3050 | ||
3051 | hpreg_res = pci_resource_start(pdev, 0); | 3051 | hpreg_res = pci_resource_start(pdev, 0); |
3052 | err = -ENODEV; | 3052 | err = -ENODEV; |
@@ -3090,7 +3090,7 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev, | |||
3090 | get_hme_mac_nonsparc(pdev, &dev->dev_addr[0]); | 3090 | get_hme_mac_nonsparc(pdev, &dev->dev_addr[0]); |
3091 | #endif | 3091 | #endif |
3092 | } | 3092 | } |
3093 | 3093 | ||
3094 | /* Layout registers. */ | 3094 | /* Layout registers. */ |
3095 | hp->gregs = (hpreg_base + 0x0000UL); | 3095 | hp->gregs = (hpreg_base + 0x0000UL); |
3096 | hp->etxregs = (hpreg_base + 0x2000UL); | 3096 | hp->etxregs = (hpreg_base + 0x2000UL); |
@@ -3201,7 +3201,7 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev, | |||
3201 | qpdev->device == PCI_DEVICE_ID_DEC_21153) | 3201 | qpdev->device == PCI_DEVICE_ID_DEC_21153) |
3202 | printk("DEC 21153 PCI Bridge\n"); | 3202 | printk("DEC 21153 PCI Bridge\n"); |
3203 | else | 3203 | else |
3204 | printk("unknown bridge %04x.%04x\n", | 3204 | printk("unknown bridge %04x.%04x\n", |
3205 | qpdev->vendor, qpdev->device); | 3205 | qpdev->vendor, qpdev->device); |
3206 | } | 3206 | } |
3207 | 3207 | ||