diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-02-01 01:53:33 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-02-01 01:53:33 +0000 |
commit | 5e92132a721c148d3bade317358d18c8aaad0f1b (patch) | |
tree | 1138eee42d4df4d1e6523dd34b3990deca7048e4 | |
parent | 4ff2d3426fe5a882134bf5d59ac7e343f56c5c75 (diff) |
one less magic value.
-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 */ |