aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-13 18:10:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-13 18:10:25 +0000
commitff76ce5d3e9604815723a8fb1e74a9167de3e545 (patch)
treeda4f224fe175e85fa0c798b21db058c110f08f66 /target/linux/adm5120-2.6/files
parentd4c8b230b54d52abeeff794e85b59009fc1445fc (diff)
downloadupstream-ff76ce5d3e9604815723a8fb1e74a9167de3e545.tar.gz
upstream-ff76ce5d3e9604815723a8fb1e74a9167de3e545.tar.bz2
upstream-ff76ce5d3e9604815723a8fb1e74a9167de3e545.zip
Better macronix bottom boot handling, thanks Gabor !
SVN-Revision: 7618
Diffstat (limited to 'target/linux/adm5120-2.6/files')
-rw-r--r--target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c b/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
index a0ccaefd55..a9d0071dfa 100644
--- a/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
+++ b/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
@@ -30,6 +30,8 @@ MODULE_DESCRIPTION("ADM5120 USB Host Controller Driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jeroen Vreeken (pe1rxq@amsat.org)");
+#define PFX "adm5120-hcd: "
+
#define ADMHCD_REG_CONTROL 0x00
#define ADMHCD_REG_INTSTATUS 0x04
#define ADMHCD_REG_INTENABLE 0x08
@@ -826,11 +828,13 @@ static struct platform_driver adm5120hcd_driver = {
static int __init adm5120hcd_init(void)
{
- if (usb_disabled())
+ if (usb_disabled())
return -ENODEV;
- if (!adm5120_board.has_usb)
+ if (!adm5120_board.has_usb) {
+ printk(KERN_DEBUG PFX "this board does not have USB\n");
return -ENODEV;
+ printk(KERN_INFO PFX "registered\n");
return platform_driver_register(&adm5120hcd_driver);
}