Sponsored Content
Full Discussion: prtconf in Linux
Operating Systems Linux prtconf in Linux Post 302474301 by tsaravanan on Wednesday 24th of November 2010 02:29:51 AM
Old 11-24-2010
Hi Mark54g,

prtconf -D | egrep 'pci,|network|ethernet|SUNW,qfe'
pci, instance #0 (driver name: pcicmu)
pci, instance #0 (driver name: px)
pci, instance #0 (driver name: pxb_plx)
pci, instance #1 (driver name: pxb_plx)
pci, instance #0 (driver name: px_pci)
network, instance #0 (driver name: bge)
network, instance #1 (driver name: bge)
pci, instance #1 (driver name: px_pci)
pci, instance #2 (driver name: pxb_plx)
pci, instance #1 (driver name: px)
pci, instance #2 (driver name: px)
pci, instance #3 (driver name: px)
network, instance #0 (driver name: nxge)
network, instance #1 (driver name: nxge)
network, instance #2 (driver name: nxge)
network, instance #3 (driver name: nxge)

is displaying the network driver names.
so i would like to get the driver details like the above output. i am using monta vista linux.

---------- Post updated at 12:59 PM ---------- Previous update was at 12:58 PM ----------

Quote:
Originally Posted by mark54g
in some cases, the tool would be:

Code:
hwinfo

SUSE comes to mind for that one.
Hi Thanks. but i am not able to find this in monta vista linux os.
 

4 More Discussions You Might Find Interesting

1. Solaris

equivalent prtdiag and prtconf command

I have a very old sunOS 4.xx server on a SPARCstation 5. What is the command , if any, that is similar to prtdiag and prtconf? Thanks (4 Replies)
Discussion started by: antalexi
4 Replies

2. UNIX for Dummies Questions & Answers

prtconf

Hi, Please let me know the equalent Linux command for "prtconf". Thanks in Advance, Naga:cool: (2 Replies)
Discussion started by: Nagapandi
2 Replies

3. AIX

prtconf command not working in Aix 5.3

put prtconf command,after show this error message: bash-3.00# prtconf /usr/sbin/prtconf: msize=msize + 12544^J12544: syntax error pleae help me...........waiting for replay by mohan.s Aix sysadmin (deleted email, rule violation) (2 Replies)
Discussion started by: smohan62
2 Replies

4. AIX

Difference between lsconf & prtconf cmds on AIX

Friends, Could someone answer me on a silly question of mine: What's the difference between lsconf & prtconf commands of AIX? I find the o/p's of either of these commands to be same. Excuse me if I'm missing something, also I google-ed about it before turning down here for answer. ... (3 Replies)
Discussion started by: thisissouvik
3 Replies
qassociate(9F)						   Kernel Functions for Drivers 					    qassociate(9F)

NAME
qassociate - associate STREAMS queue with driver instance SYNOPSIS
#include <sys/types.h> #include <sys/stream.h> #include <sys/stropts.h> #include <sys/ddi.h> #include <sys/sunddi.h> int qassociate(queue_t *q, int instance); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is required for drivers which export cb_ops(9S) entry points. PARAMETERS
queue_t *q Pointer to a queue(9S) structure. Either the read or write queue can be used. int instance Driver instance number or -1. DESCRIPTION
The qassociate() function associates the specified STREAMS queue with the specified instance of the bottom driver in the queue. Upon suc- cessful return, the stream is associated with the instance with any prior association dissolved. A DLPI style-2 driver calls qassociate() while processing the DL_ATTACH_REQ message. The driver is also expected to call this interface while performing stream associations through other means, such as ndd(1M) ioctl commands. If instance is -1, the stream is left unassociated with any hardware instance. If the interface returns failure, the stream is not associated with the specified instance. Any prior association is left untouched. The interface typically fails because of failure to locate and attach the device instance. The interface never fails if the specified instance is -1. CONTEXT
qassociate() can be called from the stream's put(9E) entry point. RETURN VALUES
0 Success. -1 Failure. EXAMPLES
A Style-2 network driver's DL_ATTACH_REQ code would specify: if (qassociate(q, instance) != 0) goto fail; The association prevents Dynamic Reconfiguration (DR) from detaching the instance. A Style-2 network driver's DL_DETACH code would specify: (void) qassociate(q, -1); This dissolves the queue's association with any device instance. A Style-2 network driver's open(9E) code must call: qassociate(q, -1); This informs the framework that this driver has been modified to be DDI-compliant. SEE ALSO
dlpi(7P), open(9E), put(9E), ddi_no_info(9F), queue(9S) SunOS 5.10 9 Jul 2002 qassociate(9F)
All times are GMT -4. The time now is 09:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy