Hi, I am looking into a driver that works fine on 2.4. The driver uses the defines - pci_map_single and pci_map_sg. These macros were defined in 2.4 and upto 2.6.5 in "drivers/message/fusion/linux_compat.h". I have a few questions: 1. I understand the implementation of pci_map_single (calling virt_to_bus() ). However, pci_map_sg just returns the no. of elements in the sg list, thats it. I was expecting some sort of a for loop, that traverses the list of sg entries, and initializes the dma_address field. Am I missing something? 2. In 2.6.9, the file "drivers/message/fusion/linux_compat.h" has shrunk, and I do not see an implementation of pci_map_single or pci_map_sg. It's defined deep in the aic7xxx drivers. Are these #defines deprecated? Are developers not supposed to use them. If so, why and what should I use? Thank you, Ahmed. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/