diff options
author | 2006-02-01 01:53:32 +0000 | |
---|---|---|
committer | 2006-02-01 01:53:32 +0000 | |
commit | d1587f2d41b7d0cf7e19c31f94dc8821bdbe439a (patch) | |
tree | 9dae9ea324c8e74d4ec1c1df40eab2c6ac3b41e6 /sys/dev/pci | |
parent | Set up the PCI DMA control register properly for the 5714 family, (diff) | |
download | wireguard-openbsd-d1587f2d41b7d0cf7e19c31f94dc8821bdbe439a.tar.xz wireguard-openbsd-d1587f2d41b7d0cf7e19c31f94dc8821bdbe439a.zip |
one less magic value.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bge.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 607fa40571c..232450a498e 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.122 2006/02/01 01:31:43 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.123 2006/02/01 01:53:32 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2036,7 +2036,8 @@ bge_reset(struct bge_softc *sc) pci_conf_write(pa->pa_pc, pa->pa_tag, 0xc4, v | (1<<15)); } /* Set PCI-E max payload size and clear error status. */ - pci_conf_write(pa->pa_pc, pa->pa_tag, 0xd8, 0xf5000); + pci_conf_write(pa->pa_pc, pa->pa_tag, + BGE_PCI_CONF_DEV_CTRL, 0xf5000); } /* Reset some of the PCI state that got zapped by reset */ |