[FUG-BR] Parâmetros diferentes em placa de rede no freebsd.
Renato Botelho
rbgarga em gmail.com
Quinta Março 19 09:49:56 BRT 2009
2009/3/19 Grupo FUG FUG <fug460 at gmail.com>:
> Vou trocar essa placa de rede , vc sabe o que significa esse card ?
Vivendo e aprendendo, fiquei curioso e fui reler o man pra lembrar o
que era o card, pois o que eu sempre uso é o chip, então descobri
que é normal pra placas velhas o card=0x00000000, segue o trecho
do man pciconf
The first column gives the device name, unit number, and selector. If
there is no device configured in the kernel for the PCI device in ques-
tion, the device name will be ``none''. Unit numbers for unconfigured
devices start at zero and are incremented for each unconfigured device
that is encountered. The selector is in a form which may directly be
used for the other forms of the command. The second column is the class
code, with the class byte printed as two hex digits, followed by the sub-
class and the interface bytes. The third column gives the contents of
the subvendorid register, introduced in revision 2.1 of the PCI standard.
Note that it will be 0 for older cards. The field consists of the card
ID in the upper half and the card vendor ID in the lower half of the
value.
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, as above. The fifth column prints the chip's revision.
The sixth column describes the header type. Currently assigned header
types include 0 for most devices, 1 for PCI to PCI bridges, and 2 for PCI
to CardBus bridges. If the most significant bit of the header type reg-
ister is set for function 0 of a PCI device, it is a multi-function
device, which contains several (similar or independent) functions on one
chip.
--
Renato Botelho
Mais detalhes sobre a lista de discussão freebsd