I've been tasked with making a custom kernel module that reads the memory of a NIC device, from the family of Broadcom chipsets.
In my case I'm using a BCM4311, have installed the firmware and the kernel driver, but I can't seem to get a grasp on how to access the device object memory. I know the memory I/O char and block devices, etc. But NICs are quite complex...
Does the B43 handle the memory access for me? How can I access the physical memory from the device? Can't get a /dev/<nic>, do I have to use an ioctl? But ioctl does not equal to physical memory, right?
I am somewhat confused by this topic...
Region 0: Memory at 0x<Address>), am I right?