[USB-BRINGUP-TRUNK]

- Add USB stuff to 1st stage setup

svn path=/branches/usb-bringup-trunk/; revision=55024
This commit is contained in:
Cameron Gutman 2012-01-20 22:04:57 +00:00
parent f5223ccf13
commit 3a034047fc
13 changed files with 53 additions and 10 deletions

View file

@ -63,6 +63,7 @@ InstallDriver(
if (!SetupFindFirstLineW(hInf, L"BootBusExtenders.Load", Driver, &Context)
&& !SetupFindFirstLineW(hInf, L"BusExtenders.Load", Driver, &Context)
&& !SetupFindFirstLineW(hInf, L"SCSI.Load", Driver, &Context)
&& !SetupFindFirstLineW(hInf, L"InputDevicesSupport.Load", Driver, &Context)
&& !SetupFindFirstLineW(hInf, L"Keyboard.Load", Driver, &Context))
return FALSE;
if (!INF_GetDataField(&Context, 1, &ImagePath))

View file

@ -541,11 +541,7 @@ drivers\serial\serial\serial.sys 2
drivers\storage\ide\pciide\pciide.sys 2
drivers\storage\ide\pciidex\pciidex.sys 2
;drivers\usb\miniport\usbohci\usbohci.sys 2
;drivers\usb\miniport\usbuhci\usbuhci.sys 2
;drivers\usb\usbhub\usbhub.sys 2
;drivers\usb\usbport\usbport.sys 2
;drivers\usb\nt4compat\usbdriver\usbdriver.sys 2
drivers\hid\mouhid\mouhid.sys 2
drivers\video\displays\vga\vgaddi.dll 1
drivers\video\displays\framebuf\framebuf.dll 1

View file

@ -32,7 +32,15 @@ kdcom.dll=,,,,,,,,,,,,2
disk.sys=,,,,,,x,,,,,,4
floppy.sys=,,,,,,x,,,,,,4
i8042prt.sys=,,,,,,x,,,,,,4
usbdrv.sys=,,,,,,,,,,,,4
hidclass.sys=,,,,,,,,,,,,4
hidparse.sys=,,,,,,,,,,,,4
hidusb.sys=,,,,,,,,,,,,4
usbhub.sys=,,,,,,,,,,,,4
;usbuhci.sys=,,,,,,,,,,,,4
usbohci.sys=,,,,,,,,,,,,4
usbehci.sys=,,,,,,,,,,,,4
usbstor.sys=,,,,,,,,,,,,4
kbdhid.sys=,,,,,,,,,,,,4
kbdclass.sys=,,,,,,x,,,,,,4
l_intl.nls=,,,,,,,,,,,,2
ntfs.sys=,,,,,,,,,,,,4
@ -61,12 +69,30 @@ PCI\CC_0104 = uniata
PCI\CC_0105 = uniata
PCI\CC_0106 = uniata
*PNP0600 = uniata
USB\CLASS_09 = usbhub
USB\ROOT_HUB = usbhub
USB\ROOT_HUB20 = usbhub
;PCI\CC_0C0300 = usbuhci
PCI\CC_0C0310 = usbohci
PCI\CC_0C0320 = usbehci
;USB\Class_08&SubClass_06&Prot_50 = usbstor
HID_DEVICE_SYSTEM_KEYBOARD = kbdhid
[BootBusExtenders.Load]
acpi = acpi.sys
pci = pci.sys
isapnp = isapnp.sys
[InputDevicesSupport.Load]
usbehci = usbehci.sys
usbohci = usbohci.sys
;usbuhci = usbuhci.sys
usbhub = usbhub.sys
;usbccgp = usbccgp.sys
hidusb = hidusb.sys
usbstor = usbstor.sys
kbdhid = kbdhid.sys
[BusExtenders.Load]
pciide = pciide.sys

View file

@ -17,4 +17,6 @@ set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
add_importlibs(hidclass ntoskrnl hidparse hal)
add_importlib_target(hidclass.spec)
add_importlib_target(hidclass.spec)
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -14,3 +14,5 @@ add_importlibs(hidparse ntoskrnl)
add_importlib_target(hidparse.spec)
target_link_libraries(hidparse hidparser)
add_cd_file(TARGET hidparse DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -6,4 +6,6 @@ list(APPEND SOURCE
add_library(hidusb SHARED ${SOURCE})
set_module_type(hidusb kernelmodedriver)
add_importlibs(hidusb hidclass ntoskrnl usbd hal)
add_importlibs(hidusb hidclass ntoskrnl usbd hal)
add_cd_file(TARGET hidusb DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -7,3 +7,5 @@ add_library(kbdhid SHARED kbdhid.c kbdhid.rc)
set_module_type(kbdhid kernelmodedriver)
add_importlibs(kbdhid ntoskrnl hal hidparse)
add_cd_file(TARGET kbdhid DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -17,3 +17,5 @@ add_library(usbehci SHARED ${SOURCE})
set_module_type(usbehci kernelmodedriver)
add_importlibs(usbehci ntoskrnl hal)
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -30,4 +30,6 @@ else()
endif(MSVC)
set_module_type(usbehci kernelmodedriver)
add_importlibs(usbehci ntoskrnl ks drmk hal)
add_importlibs(usbehci ntoskrnl ks drmk hal)
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -11,3 +11,5 @@ add_library(usbhub SHARED ${SOURCE})
set_module_type(usbhub kernelmodedriver)
add_importlibs(usbhub ntoskrnl hal usbd)
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -9,3 +9,5 @@ target_link_libraries(usbhub ${PSEH_LIB})
set_module_type(usbhub kernelmodedriver)
add_importlibs(usbhub ntoskrnl hal usbd)
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -30,4 +30,6 @@ else()
endif(MSVC)
set_module_type(usbohci kernelmodedriver)
add_importlibs(usbohci ntoskrnl ks drmk hal usbd)
add_importlibs(usbohci ntoskrnl ks drmk hal usbd)
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -7,3 +7,5 @@ add_library(usbstor SHARED descriptor.c disk.c fdo.c misc.c pdo.c queue.c error.
set_module_type(usbstor kernelmodedriver)
add_importlibs(usbstor ntoskrnl hal usbd)
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)