Re: [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal ofadapters
From: Joachim Fenkes
Date: Fri Feb 16 2007 - 21:25:04 EST
Sylvain Munaut <tnt@xxxxxxxxxx> wrote on 15.02.2007 15:11:42:
> Mmmh, I posted a patch that added a common uevent interface for all
> of_device based bus. And that kinda clash with this one.
Oops, I was not aware of this. I had a look at your patch and yes, it's a
and generic interface. I concur that using your generic function is the
> But as "ibm,loc_code" is local to this bus it's not handled by my code.
> Is it necessary to match the correct driver ?
The intention of adding the location code was to include a device property
into the environment that's unique to each device. Actually, the DEVPATH
provides exactly this: For ebus devices, it points to the ebus device
which natually is unique.
If a userspace tool really needs the location code, the "devspec"
the ebus device will point it to the device tree node, which in turn
location code property.
So I think there's nothing preventing me from using your function. Thanks
pointing this out.
Joachim Fenkes -- eHCA Linux Driver Developer and Hardware Tamer
IBM Deutschland Entwicklung GmbH -- Dept. 3627 (I/O Firmware Development
Schoenaicher Strasse 220 -- 71032 Boeblingen -- Germany
eMail: fenkes@xxxxxxxxxx -- Phone: +49 7031 16 1239
Vorsitzender des Aufsichtsrats: Johann Weihen -- Geschäftsführung:
Sitz der Gesellschaft: Böblingen -- Registergericht: Amtsgericht
Stuttgart, HRB 243294
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/