How to know the address of parallel port
I want to know the address of the parallel port with in a kernel module.
Is there is any kernel function to find the address of the paralle port.Because i wrote one kernel driver as a module which uses parallel port and i #defined the address of the parallel port it is working. But when i loaded the same module into laptop which uses suse linux it is not working because the parallel port address of the laptop can be configured in that laptop the parallel port address is different so i again i changed the parallel port address and then it is working i dont want to do that. If i know the parallel port address i can use the same address in my kernel module so that no need to change every time it loaded into different system.