Hi,
perhaps i don't see the wood for trees.
I'd like to write a driver for a PCI ISDN chipset which uses a 32k byte
memory window as a sort of "dual ported ram" in the memory address space.
What has to be done in the driver attach routine is
- allocate a 32k contingous memory window
- get the physical address of it
- program the ISDN PCI chipset with the start address of the window
Now can i just malloc 32k and then use vtophys() to get the physical
start address to program the PCI chip with ?
hellmuth
--
Hellmuth Michaelis [EMAIL PROTECTED] Hamburg, Europe
We all live in a yellow subroutine, yellow subroutine, yellow subroutine ...
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message