I/O error in code example from "Essential Linux Device Drivers"
Hi,
I'm trying to run a code example from the book "Essential Linux Device Drivers". It's a driver module that's supposed to access the CMOS memory banks (port 0x70). Inserting the module fails with -EIO, which is caused by the following section of the code: Code:
/* Request I/O region */ Many thanks! |
if you do not need the RTC driver then remove it. The port should become free. Else you will have to change the memory region.
|
Thanks, that did the trick! I removed the RTC driver from the kernel config and did a recompile. The kernel has a legacy RTC driver that can be compiled as a module. I used that driver as a replacement for the new driver, which cannot be modularized.
|
All times are GMT -5. The time now is 07:07 PM. |