Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #7786 > unrolled thread

NIC registers Description

Started byIlias Abrams <iliasabrams@gmail.com>
First post2017-05-28 15:10 -0700
Last post2017-05-29 12:45 +0700
Articles 2 — 2 participants

Back to article view | Back to comp.programming


Contents

  NIC registers Description Ilias Abrams <iliasabrams@gmail.com> - 2017-05-28 15:10 -0700
    Re: NIC registers Description JJ <jj4public@vfemail.net> - 2017-05-29 12:45 +0700

#7786 — NIC registers Description

FromIlias Abrams <iliasabrams@gmail.com>
Date2017-05-28 15:10 -0700
SubjectNIC registers Description
Message-ID<ed2dec2a-e632-4c96-866c-1fadacc4a6ff@googlegroups.com>
Hello to everyone, 
I am interesting to understand some thing on C low level programming. 
I am reading for example NIC datasheet description of registers (Realtek) 
I was wondering If anyone can explain me how a software programmer can use these information of a NIC registers: 

Interrupt Status 
(Offset 003Eh-003Fh, R/W) 
Bit R/W Symbol Description 
15 R/W SERR    System Error: This bit is set to 1 when the RTL8169 signals a 
               system error on the PCI bus. 

The offset is referred to memory right? but how a software can use this? 
The Bit field and the symbol how can an software developer use it? 
The symbol is like a variable? 
Drivers use these symbols to "talk" to the NIC? 

thanks! 

[toc] | [next] | [standalone]


#7791

FromJJ <jj4public@vfemail.net>
Date2017-05-29 12:45 +0700
Message-ID<wzv4o804zl0y.10ogr91q0al7p$.dlg@40tude.net>
In reply to#7786
On Sun, 28 May 2017 15:10:11 -0700 (PDT), Ilias Abrams wrote:

> Hello to everyone, 
> I am interesting to understand some thing on C low level programming. 
> I am reading for example NIC datasheet description of registers (Realtek) 
> I was wondering If anyone can explain me how a software programmer can use these information of a NIC registers: 
> 
> Interrupt Status 
> (Offset 003Eh-003Fh, R/W) 
> Bit R/W Symbol Description 
> 15 R/W SERR    System Error: This bit is set to 1 when the RTL8169 signals a 
>                system error on the PCI bus. 
> 
> The offset is referred to memory right? but how a software can use this? 
> The Bit field and the symbol how can an software developer use it? 
> The symbol is like a variable? 
> Drivers use these symbols to "talk" to the NIC? 
> 
> thanks!

You should refer to your LAN card's technical documentations. Realtek
provides it on their site. Assuming that they still do.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web