Skip to main content
added 5 characters in body
Source Link
as43z
  • 11
  • 4

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...

I've 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...

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...

Source Link
as43z
  • 11
  • 4

B43 accessing device memory

I've 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...