summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-10-28 05:56:50 +0000
committerimp <imp@FreeBSD.org>2005-10-28 05:56:50 +0000
commit691318f7655f199e58582728d15be7593ec760ed (patch)
treebc8b4bf50d0f8580055ba646e913a6565de3b929 /sys/dev/pci
parent2d75d15a249c87484d1005696b30f0a4013c4c2e (diff)
downloadFreeBSD-src-691318f7655f199e58582728d15be7593ec760ed.zip
FreeBSD-src-691318f7655f199e58582728d15be7593ec760ed.tar.gz
Minor style(9) nitage.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 678a9a9..d5fbb35 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -913,8 +913,7 @@ pci_ata_maps(device_t pcib, device_t bus, device_t dev, int b,
if (progif & PCIP_STORAGE_IDE_MODEPRIM) {
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(0), rl);
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(1), rl);
- }
- else {
+ } else {
rid = PCIR_BAR(0);
resource_list_add(rl, type, rid, 0x1f0, 0x1f7, 8);
resource_list_alloc(rl, bus, dev, type, &rid, 0x1f0, 0x1f7,8,0);
@@ -925,8 +924,7 @@ pci_ata_maps(device_t pcib, device_t bus, device_t dev, int b,
if (progif & PCIP_STORAGE_IDE_MODESEC) {
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(2), rl);
pci_add_map(pcib, bus, dev, b, s, f, PCIR_BAR(3), rl);
- }
- else {
+ } else {
rid = PCIR_BAR(2);
resource_list_add(rl, type, rid, 0x170, 0x177, 8);
resource_list_alloc(rl, bus, dev, type, &rid, 0x170, 0x177,8,0);
OpenPOWER on IntegriCloud