View previous topic :: View next topic |
Author |
Message |
radek-s Apprentice
Joined: 25 Mar 2006 Posts: 239
|
Posted: Fri Mar 16, 2007 2:06 pm Post subject: Adres IO |
|
|
Witam!
Pytanie może okazac sie banalne...
mianowicie jak uzyskad adres IO karty sieciowej w postaco heksadecymalnej?
lspci:
Code: |
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
Subsystem: ASRock Incorporation Unknown device 0900
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (13000ns min, 2750ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at d400 [size=256]
Region 1: Memory at cfff8000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 20000000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
|
pozdrawiam i dziekuje za odpowiedz |
|
Back to top |
|
|
msch Guru
Joined: 14 Mar 2006 Posts: 385 Location: ms@wind ~ $
|
Posted: Sat Mar 17, 2007 12:50 pm Post subject: |
|
|
chodzi ci o maca? ifconfig? |
|
Back to top |
|
|
timor Guru
Joined: 25 May 2005 Posts: 517 Location: Poland
|
Posted: Sat Mar 17, 2007 2:21 pm Post subject: Re: Adres IO |
|
|
radek-s wrote: |
mianowicie jak uzyskad adres IO karty sieciowej
lspci:
Code: |
...
Interrupt: pin A routed to IRQ 10
...
|
|
Jeśli chodzi Ci o adres IRQ to jest tutaj, jeśli chcesz mac'a to:
Code: | timor@timor ~ $ sudo ifconfig
eth0 Link encap:Ethernet [b]HWaddr 00:11:AA:92:AA:F9 [/b]
inet addr:192.168.xxx.xxx Bcast:192.168.255.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:184412 errors:0 dropped:0 overruns:0 frame:0
TX packets:16883 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21559480 (20.5 Mb) TX bytes:2627117 (2.5 Mb)
Interrupt:17 | jest to ten wytłuszczony kawałek. Komendę odpala się przez root'a lub tak jak ja sudo. |
|
Back to top |
|
|
Raku Bodhisattva
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Sat Mar 17, 2007 5:31 pm Post subject: |
|
|
chodzi o adres I/O (I jak Input, O jak Output). IMO podany jest on tutaj:
Code: | Region 0: I/O ports at d400 [size=256] |
@timor: nie ma czegoś takiego jak adres IRQ (może chodzi o numer IRQ, czyli numer przerwania?)
Nie ma to też nic wspólnego z adresem MAC.
Adres wejścia/wyjścia to kanał służący do komunikacji bezpośrednio z urządzeniem. _________________ raku
Powered by Archlinux |
|
Back to top |
|
|
|