diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-30 14:09:57 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-30 14:09:57 +0000 |
commit | 30d0264c3a34ccdad67f4dfd08b6e75171ec0da4 (patch) | |
tree | 445aaad6ac9ea61c80fb2c2af8d95722090d94c4 | |
parent | 3e8c0808f0329093948850542391f750c40e0818 (diff) |
Enable setting of interrupt timers.
ok dlg@
-rw-r--r-- | sys/dev/pci/if_lii.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lii.c b/sys/dev/pci/if_lii.c index 61ddf963aef..383e1a5864a 100644 --- a/sys/dev/pci/if_lii.c +++ b/sys/dev/pci/if_lii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lii.c,v 1.7 2008/03/30 14:08:46 jsing Exp $ */ +/* $OpenBSD: if_lii.c,v 1.8 2008/03/30 14:09:56 jsing Exp $ */ /* * Copyright (c) 2007 The NetBSD Foundation. @@ -597,14 +597,12 @@ atl2_init(struct ifnet *ifp) AT_WRITE_4(sc, ATL2_MHDC, 0x07a0f037 | MHDC_EXC_DEF_EN); -#if 0 /* 100 means 200us */ AT_WRITE_2(sc, ATL2_IMTIV, 100); AT_WRITE_2(sc, ATL2_SMC, SMC_ITIMER_EN); /* 500000 means 100ms */ AT_WRITE_2(sc, ATL2_IALTIV, 50000); -#endif AT_WRITE_4(sc, ATL2_MTU, ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN + ETHER_VLAN_ENCAP_LEN); |