From: <fh...@at...> - 2000-09-23 21:10:25
|
Anyone care to comment on any of this? The first address is the physical address of the 53c770 SCSI. This should be correct. I got the address from Ralph Schmidt. paddr: f40000 When the ioremap_nocache is run using the physical address the virtual address comes out to be this: vaddr: 80f40000 The np->reg variable is set to the virtual address and uses that address to access the chip registers. How is the kernel using this virtual address to translate to the physical address required to access the chip registers? should I be using virt_to_phys() to access all SCSI chip registers? There is no such thing as an I/O port (at least in the PC sense) on the Amiga? io_port: 0 Someone told me on a linux news group to use check_mem_region() /request_mem_region() instead of check_region()/request_region() in the driver, although it appears that the latter functions are again aimed toward the PC style hardware that has I/O ports. What does those functions do on APUS, if anything? Also, the "mem" versions of those functions are not in the 2.2.10 kernel I have been using. Are they new in the 2.3/2.4 kernels? Fred |