Re: Ethernet driver - without DMA ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 29, 2016 at 10:03 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Fri, Jul 29, 2016 at 09:47:40PM +0300, Ran Shalit wrote:
>>  Hello,
>>
>> Can we write Ethernet driver without using dma ?
>
> Sure, we have USB network drivers that don't use DMA.
>
>> But still using sk_buff APIs like done in most drivers ?
>
> Yup.
>
> What type of hardware are you wanting to write an Ethernet driver for?

OMAP4, (omap4460), which connect to mac controller implemented in FPGA.
There is no template for ethernet driver, but I see that netx-eth has
quite simple implementation, which looks as a good starting template:
https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/netx-eth.c



>
> thanks,
>
> greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux