LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2010, 01:23 PM   #1
mustansar
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Driver function explanation


static const struct rt2x00_ops rt2800usb_ops = {
.name = KBUILD_MODNAME,
.max_sta_intf = 1,
.max_ap_intf = 8,
.eeprom_size = EEPROM_SIZE,
.rf_size = RF_SIZE,
.tx_queues = NUM_TX_QUEUES,
.rx = &rt2800usb_queue_rx,
.tx = &rt2800usb_queue_tx,
.bcn = &rt2800usb_queue_bcn,
.lib = &rt2800usb_rt2x00_ops,
.hw = &rt2800usb_mac80211_ops,
#ifdef CONFIG_RT2X00_LIB_DEBUGFS
.debugfs = &rt2800usb_rt2x00debug,
#endif /* CONFIG_RT2X00_LIB_DEBUGFS */
};

Kindly explain what does eeprom_size, rf_size,bcn etc all variables mean??

Thank yu
 
Old 11-13-2010, 09:21 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Here's one.

http://www.cs.fsu.edu/~baker/devices...t?i=EEPROMSIZE

For the rest, Google is your friend.
 
Old 11-14-2010, 04:18 AM   #3
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
These are all related to registers on the RT2800 802.11 wireless chipset.

The EEPROM_SIZE is the size of the onboard eeprom. The RF_SIZE is the size of the RF register set. 'bcn' is probably the wireless beacon controls.

To follow the code, you will benefit from looking at the datasheet for the chipset (which you might be able to get from Ralink, or perhaps from the rt2x00 driver developers assuming it isn't covered by non-disclosure agreements. There is a product overview online, but it doesn't have much more than a block diagram.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Driver Probe function not being called xtom Fedora 1 11-10-2018 12:05 PM
Access a driver function from user-space ? truboy Linux - Kernel 2 10-20-2010 09:30 AM
How can we access driver function using system call ? bkankru Linux - General 4 04-16-2010 03:39 AM
Explanation sought for a check in ip_finish_output2() function Pankaj Srivastava Linux - Networking 0 05-24-2007 08:52 PM
USB driver won't call probe function linux=future Linux - Kernel 2 01-13-2007 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration