Re: 1.3.72: spelling error

Joao Carlos Ventura (jcv@students.fct.unl.pt)
12 Mar 1996 17:50:42 GMT


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 | \/ \/ \/ \/ \/ \/ \/ \/ \/