Skip to content
Advertisement

Tag: linux-device-driver

Linux driver for embedded Linux

I’m looking to attach some USB devices to my embedded Linux board. It is an TI-ARM processor running embedded Linux, but I guess it could be any embedded Linux board. If I purchase an USB device which has Linux support/driver, can this driver (generally) be re-compiled to work with the ARM architecture? (Instead of Windows ect.). Answer Yes, USB drivers

Distinguish forwarding traffic and locally originated traffic in Linux network driver

Is there any information in the struct skbuff to distinguish between the forwarding traffic (bridge forwarding and ip forwarding) and locally originated traffic? We want to treat these two kinds of traffic differently in the network driver because the forwarding traffic do not require cache invalidation on the whole packet size. Any suggestions are appreciated. Thank you very much! Answer

Linux readw and readl endianness

May anyone please explain the endianness of returned values by readw and readl. I am currently using PowerPC arch. Thanks and Best Regards! Answer “readw” and “readl” return the value of the underlying architecture. As it happens, a PowerPC can be either big- or little endian. AFAIK, most Linux implementations run PPC in big-endian mode.

Advertisement