summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/ar71xx_ehci.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2009-04-19 23:06:15 +0000
committergonzo <gonzo@FreeBSD.org>2009-04-19 23:06:15 +0000
commit58fe97057fb337a65dbf76fcf30318a726bccc15 (patch)
tree7029f59ba1d13c07be2f3de5230dbbb4bfe55aca /sys/mips/atheros/ar71xx_ehci.c
parent9cf27d53b334e18629875b784110ad20906b4254 (diff)
downloadFreeBSD-src-58fe97057fb337a65dbf76fcf30318a726bccc15.zip
FreeBSD-src-58fe97057fb337a65dbf76fcf30318a726bccc15.tar.gz
- Remove garbage debug output
- ar71xx_bus_space_reversed is bus_space_tag_t, use it this way
Diffstat (limited to 'sys/mips/atheros/ar71xx_ehci.c')
-rw-r--r--sys/mips/atheros/ar71xx_ehci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/atheros/ar71xx_ehci.c b/sys/mips/atheros/ar71xx_ehci.c
index 272a52f..cb71667 100644
--- a/sys/mips/atheros/ar71xx_ehci.c
+++ b/sys/mips/atheros/ar71xx_ehci.c
@@ -111,7 +111,6 @@ ar71xx_ehci_probe(device_t self)
{
device_set_desc(self, EHCI_HC_DEVSTR);
- printf("EHCI probed\n");
return (BUS_PROBE_DEFAULT);
}
@@ -124,7 +123,6 @@ ar71xx_ehci_attach(device_t self)
int err;
int rid;
- printf("EHCI attach\n");
/* initialise some bus fields */
sc->sc_bus.parent = self;
sc->sc_bus.devices = sc->sc_devices;
@@ -151,7 +149,7 @@ ar71xx_ehci_attach(device_t self)
* Craft special resource for bus space ops that handle
* byte-alignment of non-word addresses.
*/
- sc->sc_io_tag = &ar71xx_bus_space_reversed;
+ sc->sc_io_tag = ar71xx_bus_space_reversed;
sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
sc->sc_io_size = rman_get_size(sc->sc_io_res);
OpenPOWER on IntegriCloud