diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-09-15 19:46:32 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-09-15 19:46:32 +0000 |
commit | 09cc6f2f89744463ecb7baba1bbf2c3bed308154 (patch) | |
tree | 0c64e7f309a9aef667a6600ebe2bd8e7159f7c7b /mdk-stage1/probing.h | |
parent | 49e18ba98be2b202e197231635549e85e3e7244f (diff) | |
download | drakx-09cc6f2f89744463ecb7baba1bbf2c3bed308154.tar drakx-09cc6f2f89744463ecb7baba1bbf2c3bed308154.tar.gz drakx-09cc6f2f89744463ecb7baba1bbf2c3bed308154.tar.bz2 drakx-09cc6f2f89744463ecb7baba1bbf2c3bed308154.tar.xz drakx-09cc6f2f89744463ecb7baba1bbf2c3bed308154.zip |
oops, virtio devices should be matched against subdevice id, as per
drivers/virtio/virtio_pci.c
Diffstat (limited to 'mdk-stage1/probing.h')
-rw-r--r-- | mdk-stage1/probing.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mdk-stage1/probing.h b/mdk-stage1/probing.h index 15dec7392..b4eda9c34 100644 --- a/mdk-stage1/probing.h +++ b/mdk-stage1/probing.h @@ -30,10 +30,9 @@ enum driver_type { MEDIA_ADAPTERS, NETWORK_DEVICES, USB_CONTROLLERS, enum media_bus { BUS_IDE, BUS_SCSI, BUS_USB, BUS_PCMCIA, BUS_ANY }; #define VIRTIO_PCI_VENDOR 0x1af4 -#define VIRTIO_ID_PCI 0x1000 -#define VIRTIO_ID_NET 0x1001 -#define VIRTIO_ID_BLOCK 0x1002 -#define VIRTIO_ID_BALLOON 0x1005 +#define VIRTIO_ID_NET 0x0001 +#define VIRTIO_ID_BLOCK 0x0002 +#define VIRTIO_ID_BALLOON 0x0005 void find_media(enum media_bus bus); void get_medias(enum media_type media, char *** names, char *** models, enum media_bus bus); |