Fix indentation and white space usage.
This commit is contained in:
parent
ac906a109d
commit
f0643cdf2a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fwohci_pci.c,v 1.6 2000/12/28 22:59:12 sommerfeld Exp $ */
|
||||
/* $NetBSD: fwohci_pci.c,v 1.7 2001/03/15 22:20:12 enami Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -106,7 +106,8 @@ fwohci_pci_attach(struct device *parent, struct device *self, void *aux)
|
||||
}
|
||||
|
||||
/* Disable interrupts, so we don't get any spurious ones. */
|
||||
OHCI_CSR_WRITE(&psc->psc_sc, OHCI_REG_IntMaskClear, OHCI_Int_MasterEnable);
|
||||
OHCI_CSR_WRITE(&psc->psc_sc, OHCI_REG_IntMaskClear,
|
||||
OHCI_Int_MasterEnable);
|
||||
|
||||
/* Enable the device. */
|
||||
csr = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
|
||||
@ -119,7 +120,8 @@ fwohci_pci_attach(struct device *parent, struct device *self, void *aux)
|
||||
return;
|
||||
}
|
||||
intrstr = pci_intr_string(pa->pa_pc, ih);
|
||||
psc->psc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO, fwohci_intr, &psc->psc_sc);
|
||||
psc->psc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO, fwohci_intr,
|
||||
&psc->psc_sc);
|
||||
if (psc->psc_ih == NULL) {
|
||||
printf("%s: couldn't establish interrupt", self->dv_xname);
|
||||
if (intrstr != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user