Re: Merge I2O patches from -mm

From: Markus Lidel
Date: Thu Aug 19 2004 - 05:08:42 EST


Hello,

Christoph Hellwig wrote:
add a controller_add and add controller_remove method, taking a typesafe
i2o_controller * instead of the multiplexer.
I had this before, but i want the notification also for I2O devices, because the driver model won't call probe functions for devices, which are already occupied by a other driver.
Then please add more methods. Multiplexer calls are an extremly bad idea.

Okay, i prefer type safety too, but i also don't like too many functions...

What do you think about that:

enum i2o_notify {
ADD = 0;
REMOVE = 1;
}

i2o_notify_controller(enum i2o_notify, struct i2o_controller *);
i2o_notify_device(enum i2o_notify, struct i2o_device *);



Best regards,


Markus Lidel
------------------------------------------
Markus Lidel (Senior IT Consultant)

Shadow Connect GmbH
Carl-Reisch-Weg 12
D-86381 Krumbach
Germany

Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11

E-Mail: Markus.Lidel@xxxxxxxxxxxxxxxxx
URL: http://www.shadowconnect.com
-
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/