summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-03-08 23:45:56 +0000
committersam <sam@FreeBSD.org>2009-03-08 23:45:56 +0000
commit094f090e7f647daca1ff4c522899def7eae6c6b3 (patch)
treea58d8d95b944dcd30c80e9ecce43888dd26ca3a3 /sys/arm
parentab90b6083a0c702c195a9392aa50a17a4e10b0ec (diff)
downloadFreeBSD-src-094f090e7f647daca1ff4c522899def7eae6c6b3.zip
FreeBSD-src-094f090e7f647daca1ff4c522899def7eae6c6b3.tar.gz
o mark unexpected callbacks more clearly
o unwrap some lines
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/xscale/ixp425/ixp425_pci.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/arm/xscale/ixp425/ixp425_pci.c b/sys/arm/xscale/ixp425/ixp425_pci.c
index 10f765b..9fb5a74 100644
--- a/sys/arm/xscale/ixp425/ixp425_pci.c
+++ b/sys/arm/xscale/ixp425/ixp425_pci.c
@@ -97,10 +97,8 @@ static void
ixp425_pci_conf_reg_write(struct ixppcib_softc *sc, uint32_t reg,
uint32_t data)
{
- PCI_CSR_WRITE_4(sc,
- PCI_CRP_AD_CBE, ((reg & ~3) | COMMAND_CRP_WRITE));
- PCI_CSR_WRITE_4(sc,
- PCI_CRP_AD_WDATA, data);
+ PCI_CSR_WRITE_4(sc, PCI_CRP_AD_CBE, ((reg & ~3) | COMMAND_CRP_WRITE));
+ PCI_CSR_WRITE_4(sc, PCI_CRP_AD_WDATA, data);
}
static int
@@ -325,7 +323,8 @@ ixppcib_activate_resource(device_t bus, device_t child, int type, int rid,
struct resource *r)
{
- device_printf(bus, "%s called activate_resource\n", device_get_nameunit(child));
+ device_printf(bus, "%s called activate_resource (unexpected)\n",
+ device_get_nameunit(child));
return (ENXIO);
}
@@ -334,7 +333,8 @@ ixppcib_deactivate_resource(device_t bus, device_t child, int type, int rid,
struct resource *r)
{
- device_printf(bus, "%s called deactivate_resource\n", device_get_nameunit(child));
+ device_printf(bus, "%s called deactivate_resource (unexpected)\n",
+ device_get_nameunit(child));
return (ENXIO);
}
@@ -343,7 +343,8 @@ ixppcib_release_resource(device_t bus, device_t child, int type, int rid,
struct resource *r)
{
- device_printf(bus, "%s called release_resource\n", device_get_nameunit(child));
+ device_printf(bus, "%s called release_resource (unexpected)\n",
+ device_get_nameunit(child));
return (ENXIO);
}
OpenPOWER on IntegriCloud