cvs commit: src/sys/dev/pci pci.c pcireg.h
src/usr.sbin/pciconf pciconf.c
Michal Mertl
mime at traveller.cz
Sat Mar 26 13:52:42 PST 2005
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
More information about the cvs-src
mailing list