Page 1 of 1

What is windows doing on PCI device(NIC) when it reboots ?

Posted: Thu May 22, 2008 6:17 am
by david
What is windows doing on PCI device(NIC) when it reboots ?
The light of NIC is off when windows reboots!
I wonder why windows do this on PCI device.
I think it is like disable NIC device in windows OS.
How i put the status of NIC's light on.
Another words, How to enable a PCI device when you disable it in Windows.

Does Linux also do this when it reboots ?

Re: What is windows doing on PCI device(NIC) when it reboots

Posted: Fri May 23, 2008 3:41 am
by jal
david wrote:What is windows doing on PCI device(NIC) when it reboots ?
The light of NIC is off when windows reboots!
I wonder why windows do this on PCI device.
I think it is like disable NIC device in windows OS.
How i put the status of NIC's light on.
Another words, How to enable a PCI device when you disable it in Windows. Does Linux also do this when it reboots ?
I really have no idea what you mean to ask here. This is an OS development forum, not a "hey, my computer did something weird, please explain" newbie forum!


JAL

Posted: Fri May 23, 2008 7:07 pm
by 01000101
From the sounds of it, you disabled your network card in windows and now you are concerned about it's lack of life?

if that is the case, you might want to... enable it. :roll:

usually when you tell the OS to kill communication with the device... it kills the communication with the device. lol.

Re: What is windows doing on PCI device(NIC) when it reboots

Posted: Fri May 23, 2008 10:02 pm
by kmcguire
david wrote:What is windows doing on PCI device(NIC) when it reboots ?
The light of NIC is off when windows reboots!
I wonder why windows do this on PCI device.
I think it is like disable NIC device in windows OS.
How i put the status of NIC's light on.
Another words, How to enable a PCI device when you disable it in Windows.
Does Linux also do this when it reboots ?
I have not worked with a network card in a low-level fashion much, but, apparently, the LED is signifying that the link (connection) is enabled and active. This is likely controlled using registers on the network card that are accessed using MMIO or IO instructions.

The light going on and off is not anything Windows does. The driver _may_ do it, and then it again it may not. It is like a disable device in windows. Linux, has to do the same operations to enable the network card as Windows did.

Posted: Tue Jun 03, 2008 10:00 pm
by david
For example: Realtek 8168 NIC, most of our motherlands use this NIC.

Code: Select all

BaseIO dw 0    ; the NIC's base IO address

mov eax, 800E0000h
mov dx, cs:BaseIO
add dx, 60h
out dx, eax

Then the LED turns on.
But i still don't know what is windows doing on NIC when windows shutdowns.
It is the result I trace rset8168.exe.
But I don't know Why.
Because I don't have the Realtek8168 specification for software design.
The realtek enterprise doesn't offer the specification downland on its website.
Please send me if you have the specification and you are happy to do it!
[email protected]
I also will be happy if you could tell me the downland link of the Realtek8168 specification.

Posted: Wed Jun 04, 2008 4:39 am
by scott
Realtek are one of the nicest companies i have seen for specs.

try going here, http://www.realtek.com.tw/downloads/ , on the left hand side select what device category you are looking for and then you can select datasheets.

Posted: Wed Jun 04, 2008 7:46 pm
by david
He only offers Realtek8168 specification for hardware design.
I need the specification for software design.
The specification for software design has the detail information of RTL8168's registers.

Posted: Thu Jun 05, 2008 1:29 am
by jal
david wrote:He only offers Realtek8168 specification for hardware design. I need the specification for software design.
The specification for software design has the detail information of RTL8168's registers.
A bit of Googling found this page, which may have some useful information. Appearently when you ask Realtek, you can receive the specifications.


JAL