Click to See Complete Forum and Search --> : check_region/request_region fail


cahoosier
10-25-2001, 03:43 PM
I am a new Linux device driver developer. I am using code from another vendor. My calls to check_region and request_region are failing. check_region returns -EBUSY. I am using a PCI device. Any help is appreciated.

My sequence of code is:

pcibios_read_config_word(bus,func,PC_BASE_ADDRESS_ 0, &addr);
addr &= ~3;
addr = ioremap(addr, size);
check_region(addr, size);