Re: example device driver with manufacturer's specification

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

 



On 6/13/07, tejas khatiwala <socretez@xxxxxxxxx> wrote:
thanks Greg.. that is really really cool.. so if i'm not mistaking
RTL8139C+.pdf.bz2 is specification associated with driver
source/drivers/net/8139cp.c.. if it is then it is really cool as I've been
taking that source as my base reference to learn many things. please correct
me if i'm wrong..
         i've one more question.. I've this Linksys PCI Wireless ethernet
adapater (WMP11.. i don't know the revision).. as far as i know.. it is only
known to work with ndiswrapper till this date.. so i was thinking to write
driver or at least experiment  with it..
         so the thing i wanted to know was device id.. i looked it up with
"lspci -vv" and it was there.. i looked up the bus it was connected with
under /sys/bus/pci/<bus#>/deivces and it showed me vendor id to be 0x14e4
and device id to be 0x4301.. also.. "lspci -vv" identified vendor as
Broadcomm Corp. and enlisted "Linksys" as subsystem.. now 0x14e4 indeed is
Broadcomm's vendor id whereas Linksys' vendor id is 0x1737.. so my question
is: given this info.. can i trust 0x4301 to be correct device id ??
         I will really appreciate your help.

/tejas

Tejus,

I'm no expert on those issues.  You might want to post directly to the
netdev support list.  (Or is wireless on a different list?).

As to looking at the spec. vs the driver:

The spec is just one source of info.  Maintainers also look at other
sources if they can:

Vendor provided driver (sometimes under an NDA, but they can get
concepts if not actual code snippits).

BIOS implementations (especially related to reset logic).

Driver Implementations for other OSes, especially if they are open like OpenBSD.

As to specs, I think most devels are happy to have them, but you
should google "Torvalds specs".  In general Linus has nothing nice to
say about them because they often vary so greatly from reality.  ie.
http://kerneltrap.org/node/5725

I've often seen Jeff Garzik say that the only real spec, especially
for low-end hardware is "what does windows do?".  ie. Basically the
low-end hardware vendors stop developing as soon as there hardware
works with windows.

Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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