diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-26 15:35:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-26 15:35:18 +0000 |
commit | 522370568a7e1ff9f9c84cf277a796ca18a945df (patch) | |
tree | 5e7987626740c4b1ab8a063af3f8ea89b3be934a /sys/arch/amd64 | |
parent | 3dc2115b1effca39cdb1a9e361df7b7f444f7816 (diff) |
correct newlines surrounding the sub-bus configuration, and unify
pchb's further
ok reyk oga
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/pci/pchb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index 571bdc5b814..0c8039255ca 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.13 2007/11/26 10:35:42 reyk Exp $ */ +/* $OpenBSD: pchb.c,v 1.14 2007/11/26 15:35:17 deraadt Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -192,6 +192,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) switch (PCI_VENDOR(pa->pa_id)) { case PCI_VENDOR_AMD: + printf("\n"); switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_AMD_AMD64_HT: for (i = 0; i < AMD64HT_NUM_LDT; i++) @@ -200,6 +201,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) } break; case PCI_VENDOR_INTEL: + printf("\n"); switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_INTEL_82915G_HB: case PCI_PRODUCT_INTEL_82925X_HB: @@ -244,7 +246,6 @@ pchbattach(struct device *parent, struct device *self, void *aux) } break; } - printf("\n"); /* * If we haven't detected AGP yet (via a product ID), @@ -253,11 +254,9 @@ pchbattach(struct device *parent, struct device *self, void *aux) if (has_agp || pci_get_capability(pa->pa_pc, pa->pa_tag, PCI_CAP_AGP, NULL, NULL) != 0) { - printf("\n"); apa.apa_busname = "agp"; apa.apa_pci_args = *pa; config_found(self, &apa, agpbus_print); - printf("\n"); } } |