| To: | Jeff Garzik <jgarzik@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | [3/9][PATCH 2.6] Nuke HasESIPhy and related code |
| From: | Roger Luethi <rl@xxxxxxxxxxx> |
| Date: | Wed, 2 Jun 2004 13:58:18 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040602115703.GA16079@k3.hellgate.ch> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6i |
This has been dead code forever.
Signed-off-by: Roger Luethi <rl@xxxxxxxxxxx>
--- orig/drivers/net/via-rhine.c
+++ mod/drivers/net/via-rhine.c
@@ -375,7 +375,7 @@
enum chip_capability_flags {
- HasESIPhy=2, HasDavicomPhy=4,
+ HasDavicomPhy=4,
ReqTxAlign=0x10, HasWOL=0x20,
};
@@ -1085,9 +1085,8 @@
/* The LED outputs of various MII xcvrs should be configured. */
/* For NS or Mison phys, turn on bit 1 in register 0x17 */
- /* For ESI phys, turn on bit 7 in register 0x17. */
mdio_write(dev, rp->phys[0], 0x17, mdio_read(dev, rp->phys[0], 0x17) |
- (rp->drv_flags & HasESIPhy) ? 0x0080 : 0x0001);
+ 0x0001);
}
/* Read and write over the MII Management Data I/O (MDIO) interface. */
|
| Previous by Date: | Re: Prism54 WPA Support - wpa_supplicant - Linux general wpa support, Luis R. Rodriguez |
|---|---|
| Next by Date: | [PATCH 0/17 linux-2.6.7-rc2] prism54: Bring prism54 up to sync, Margit Schubert-While |
| Previous by Thread: | [1/9][PATCH 2.6] Nuke HAS_IP_COPYSUM, Roger Luethi |
| Next by Thread: | [4/9][PATCH 2.6] Nuke default_port, references to if_port, medialock, Roger Luethi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |