a183 pciconf -l output :) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Development > FreeBSD Development

FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

Reply
 
Thread Tools Display Modes
  #1  
Old September 15th, 2012, 18:25
dds dds is offline
Junior Member
 
Join Date: Feb 2012
Posts: 18
Thanks: 8
Thanked 0 Times in 0 Posts
Default pciconf -l output :)

I have Sangoma Remora A200 voip card, and when I use pciconf command with -l switch
I'm getting following output:
Code:
pciconf -l

none0@pci0:0:20:0:  class=0x028000 card=0x0800a200 chip=0x00401923 rev=0x00 hdr=0x00
I want to play little bit with device driver writing, and are confused how to identify chip and its vendor. Manpage for pciconf(8) says: " The fourth column contains the chip device ID, which identifies the chip this card is based on. It consists of two fields, identifying the chip and its vendor...". Any help with explanation of these two fields?

Thanks!
Reply With Quote
  #2  
Old September 15th, 2012, 19:33
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,711
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

chip=0x00401923 is device ID 0040, vendor ID 1923 (Sangoma). With misc/pciids installed, look at /usr/local/share/pciids/pci.ids:

Code:
1923  Sangoma Technologies Corp.
        0040  A200/Remora FXO/FXS Analog AFT card
        0100  A104d QUAD T1/E1 AFT card
        0300  A101 single-port T1/E1
        0400  A104u Quad T1/E1 AFT
So that's the first card listed. Someone told me yesterday that Sangoma used to have FreeBSD drivers. Looking at those may be helpful even if they don't work any more, or don't support the right hardware.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
dds (September 15th, 2012)
  #3  
Old September 16th, 2012, 00:26
numpad5 numpad5 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 35
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Maybe this will help: http://www.freebsd.org/doc/en/books/...ok/pccard.html

EDIT: Or the code (search it for "vendor") here: http://freebsd.active-venture.com/ar...dbook/pci.html
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pciconf -w does not work. nomier System Hardware 0 November 9th, 2011 11:46
Sockstat output z662 General 13 May 16th, 2011 17:36
Filtering top output Graaf_van_Vlaanderen Userland Programming & Scripting 5 December 21st, 2009 20:44
security run output lumiwa General 4 January 10th, 2009 19:43
jls output robertclemens General 0 November 19th, 2008 21:16


All times are GMT +1. The time now is 10:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0