Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2005 22:52:38 +0100
From:      Michal Mertl <mime@traveller.cz>
To:        John-Mark Gurney <jmg@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/pci pci.c pcireg.h src/usr.sbin/pciconf pciconf.c
Message-ID:  <1111873958.2224.15.camel@genius2.i.cz>
In-Reply-To: <200503262031.j2QKVA9G074550@repoman.freebsd.org>
References:  <200503262031.j2QKVA9G074550@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John-Mark Gurney wrote:
> jmg         2005-03-26 20:31:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/pci          pci.c pcireg.h 
>     usr.sbin/pciconf     pciconf.c 
>   Log:
>   add some additional pci classes and sub-classes..

>From the diff of src/sys/dev/pci/pcireg.h:
-----
@@ -246,12 +252,15 @@
 #define PCIS_BASEPERIPH_DMA	0x01
 #define PCIS_BASEPERIPH_TIMER	0x02
 #define PCIS_BASEPERIPH_RTC	0x03
+#define PCIS_BASEPERIPH_PCIHOT	0x04
 #define PCIS_BASEPERIPH_OTHER	0x80
 
 #define PCIC_INPUTDEV	0x09
 #define PCIS_INPUTDEV_KEYBOARD	0x00
 #define PCIS_INPUTDEV_DIGITIZER	0x01
 #define PCIS_INPUTDEV_MOUSE	0x02
+#define PCIS_INPUTDEV_SCANNER	0x02
+#define PCIS_INPUTDEV_GAMEPORT	0x02
-----

Isn't there a bug? Scanner, mouse and gameport aren't the same type of device.

Best regards

Michal Mertl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1111873958.2224.15.camel>