void __init prom_init(void)
{
void __init prom_init(void)
{
- mips_machgroup = MACH_GROUP_ADM5120;
prom_detect_machtype();
prom_init_cmdline();
prom_detect_machtype();
prom_init_cmdline();
- /* There should be check for ADM5120 */
- if (mips_machgroup != MACH_GROUP_ADM5120)
- return -1;
-
ret = misc_register(&wdt_miscdev);
if (ret)
ret = misc_register(&wdt_miscdev);
if (ret)
struct mach_data *mach;
int i, ret;
struct mach_data *mach;
int i, ret;
- if (mips_machgroup != MACH_GROUP_ADM5120) {
- ret = -EINVAL;
- goto err;
- }
-
mach = adm5120_leds_findmach(mips_machtype);
if (mach == NULL) {
printk(KERN_ERR "leds-adm5120: unsupported board\n");
mach = adm5120_leds_findmach(mips_machtype);
if (mach == NULL) {
printk(KERN_ERR "leds-adm5120: unsupported board\n");
- if (mips_machgroup != MACH_GROUP_ADM5120)
- return -ENODEV;
-
ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev);
return ret;
ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev);
return ret;
#include "../core/hcd.h"
#include "../core/hub.h"
#include "../core/hcd.h"
#include "../core/hub.h"
-#define DRIVER_VERSION "0.16.2"
+#define DRIVER_VERSION "0.16.3"
#define DRIVER_AUTHOR "Gabor Juhos <juhosg at openwrt.org>"
#define DRIVER_DESC "ADMtek USB 1.1 Host Controller Driver"
#define DRIVER_AUTHOR "Gabor Juhos <juhosg at openwrt.org>"
#define DRIVER_DESC "ADMtek USB 1.1 Host Controller Driver"