Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci in general, it's a good idea to make sure you at...



details:   https://anonhg.NetBSD.org/src/rev/19cd5c712c63
branches:  trunk
changeset: 467429:19cd5c712c63
user:      cgd <cgd%NetBSD.org@localhost>
date:      Wed Mar 24 18:47:51 1999 +0000

description:
in general, it's a good idea to make sure you at least have all of the
variables you reference, before you commit something...

diffstat:

 sys/dev/pci/if_en_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 0c2c0479ddd9 -r 19cd5c712c63 sys/dev/pci/if_en_pci.c
--- a/sys/dev/pci/if_en_pci.c   Wed Mar 24 18:26:14 1999 +0000
+++ b/sys/dev/pci/if_en_pci.c   Wed Mar 24 18:47:51 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_en_pci.c,v 1.11 1999/03/24 01:05:15 thorpej Exp $   */
+/*     $NetBSD: if_en_pci.c,v 1.12 1999/03/24 18:47:51 cgd Exp $       */
 
 /*
  *
@@ -203,8 +203,8 @@
   /*
    * make sure bus mastering is enabled
    */
-  pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG,
-    pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) |
+  pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG,
+    pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) |
     PCI_COMMAND_MASTER_ENABLE);
 
   /*



Home | Main Index | Thread Index | Old Index