lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Merge I2O patches from -mm
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@shadowconnect.com
URL: http://www.shadowconnect.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.052 / U:2.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site