lkml.org 
[lkml]   [1996]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 1.3.72: spelling error
Date
Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de) wrote:
: I also wonder if it wouldn't be wise to use enums instead of #defines
: in /usr/include/linux/pci.h. (e.g. PCI_VENDOR_ID_CT 0x102c):

: typedef enum {
: ...
: CT = 0x102c,
: ...
: } PCI_VENDOR_ID;

I think those can't be enum'ed because that number is maker specific. That
is, cards report the number and only then does Eric Potter insert them in
the pci.h file (I reported one of those lines to him, first Winbond device I
believe). Correct me if I am wrong.

----- Joao Ventura ------+ Linux ... the choice of a GNU generation
| \ /\ /\ /\ /\ /\ /\ /\ /\ /
jcv@students.fct.unl.pt | \/ \/ \/ \/ \/ \/ \/ \/ \/


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.070 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site