brett.swimley at aedbozeman.com
Mon Nov 27 23:30:19 UTC 2006
Attached is a patch to diskdevs.c that is required if the major device
number used for the disk drive is greater than 32. The function
create_disk_entry will reallocate memory to change the size of the
disk_device_table, but the "disktab" pointer is not updated to point to
the newly reallocated memory.
I have not received any information that Bugzilla is operational, so I
opted to submit the patch this way.
I ran into this when dynamically registering an SD card device, and the
major number returned was 0x24.
After the patch was applied, the SD card was successfully registered and
Sr. Design Engineer
Advanced Electronic Designs
brett DOT swimley AT advanced DOT pro
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 610 bytes
Desc: not available
More information about the users