lkml.org 
[lkml]   [2005]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] ns558 bug
ambx1@neo.rr.com (Adam Belay) wrote:
>
> As a more general solution for all drivers, I've been thinking about doing
> something like this in the long term.
>
> int ret;
> if (!(ret = register_driver(&ns558_driver)))
> return ret;
> add_driver_protocol(&ns558_driver, &ns558_pnp);
> add_driver_protocol(&ns558_driver, &ns558_isa);
>
> and then on exit:
>
> unregister_driver(&ns558_driver); /* this tears down any successfully
> registered bus protocol automatically */
>
>
> For now a less invasive solution might be better.

Well the thing oopses the kernel at present. Your call, Adam. Something
to make it work acceptably for now would suit.
-
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:10    [W:0.166 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site