diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-01-17 21:27:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-01-17 21:27:03 +0000 |
commit | 5288fce5d05ba5a43ebebdcb43e743d69630929b (patch) | |
tree | 80ea0107cff7e48487c733187c4a207f9daf8372 | |
parent | 163f2ee6109ffb7d99c0b8d96efd9db690952ba4 (diff) |
Remove some #if;ed out code.
-rw-r--r-- | sys/dev/pci/if_cas.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/pci/if_cas.c b/sys/dev/pci/if_cas.c index faf64140c8e..6f2a6f3e767 100644 --- a/sys/dev/pci/if_cas.c +++ b/sys/dev/pci/if_cas.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cas.c,v 1.12 2007/11/26 17:15:32 kettenis Exp $ */ +/* $OpenBSD: if_cas.c,v 1.13 2008/01/17 21:27:02 kettenis Exp $ */ /* * @@ -1483,16 +1483,6 @@ cas_mii_writereg(struct device *self, int phy, int reg, int val) phy, reg, val); #endif -#if 0 - /* Select the desired PHY in the MIF configuration register */ - v = bus_space_read_4(t, mif, CAS_MIF_CONFIG); - /* Clear PHY select bit */ - v &= ~CAS_MIF_CONFIG_PHY_SEL; - if (phy == CAS_PHYAD_EXTERNAL) - /* Set PHY select bit to get at external device */ - v |= CAS_MIF_CONFIG_PHY_SEL; - bus_space_write_4(t, mif, CAS_MIF_CONFIG, v); -#endif /* Construct the frame command */ v = CAS_MIF_FRAME_WRITE | (phy << CAS_MIF_PHY_SHIFT) | |