lkml.org 
[lkml]   [1999]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: problem with unregister_chrdev in 2.3.30 ?
Date
From
> 
> I'm writing a minimalist module driver to play with a dsp card.
> insmod goes nicely, rmmod _seems_ to go nicely, but them cat
> /proc/devices generates an oops:
>

You've failed to release your device. An unregister of some kind I think

> if (register_chrdev(121, "iiadc64", &iiadc64_fops)) {

See

> void cleanup_module(void)
> {
> free_page(is.memory);
> unregister_chrdev(120, "iiadc64");
> }

You unregister 120 !



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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