mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Newbie: trying to hack an RTL8101E driver
@ 2014-02-23 21:09 Gideon D'souza
  2014-02-23 23:29 ` Ben Hutchings
  0 siblings, 1 reply; 2+ messages in thread
From: Gideon D'souza @ 2014-02-23 21:09 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

So I've submitted some patches for some tiny ongoing refactoring.

In the hopes of moving to more _real_ work I've been snooping at the
ethernet drivers. I was especially curious about driver code that is
running  for my own hardware.

I found out with lshw that I'm running a Atheros QCA9565 / AR9565
Wireless Network Adapter and a  RTL8101E/RTL8102E NIC.

For the atheros drivers after much google-fun I came by this
wireless.kernel.org/en/users/Drivers/ath9k and (correct me if I'm
wrong) there isn't a datasheet for this (and generally atheros)
drivers? They've been rev-engg'd ?

I went on the the realtek driver, I found this article on writing a
realtek driver (http://linuxgazette.net/156/jangir.html) I also looked
at Linux Device Drivers, both are pretty old. I also started reading
Documentation/pci/*

**However** I want to learn to write a driver for some hardware I own,
so I can actually see it in action.

The 8139 datasheet seems a lot bigger than the 8101E sheet
(http://realtek.info/pdf/rtl8101e_datasheet_1.2.pdf) and still doesn't
make a lot of sense to me.

Questions:
> As a newbie when it comes to writing software for hardware, is trying to write a driver for my hardware as a exercise doable/possible/good
> Any thing more general purpose I should read about networking and drivers?
> Any good resources other updated resources out there on how to use a datasheet to write a driver?

Thanks so Much
Gideon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-23 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-23 21:09 Newbie: trying to hack an RTL8101E driver Gideon D'souza
2014-02-23 23:29 ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®