[INF]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 30 Nov 2013 10:22:29 +0000 (10:22 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 30 Nov 2013 10:22:29 +0000 (10:22 +0000)
Add an inf file for floppy disk drives. If you have a floppy disk drive attached to your computer, it should appear in the device manager.

svn path=/trunk/; revision=61154

reactos/media/inf/CMakeLists.txt
reactos/media/inf/flpydisk.inf [new file with mode: 0644]
reactos/media/inf/syssetup.inf

index 491c88e..a5cce73 100644 (file)
@@ -11,6 +11,7 @@ list(APPEND INF_FILES
     disk.inf
     display.inf
     fdc.inf
+    flpydisk.inf
     font.inf
     hal.inf
     hdc.inf
diff --git a/reactos/media/inf/flpydisk.inf b/reactos/media/inf/flpydisk.inf
new file mode 100644 (file)
index 0000000..2dca16d
--- /dev/null
@@ -0,0 +1,65 @@
+; FDC.INF
+
+; Installation file for floppy disk drives
+
+[Version]
+Signature  = "$Windows NT$"
+;Signature  = "$ReactOS$"
+LayoutFile = layout.inf
+Class      = FloppyDisk
+ClassGuid  = {4D36E980-E325-11CE-BFC1-08002BE10318}
+Provider   = %ReactOS%
+DriverVer  = 08/15/2005,1.01.0.0
+
+[DestinationDirs]
+DefaultDestDir = 12
+
+[ClassInstall32.NT]
+AddReg = Floppy.NT.AddReg
+
+[Floppy.NT.AddReg]
+HKR, , ,               0, %FloppyClassName%
+HKR, , Icon,           0, "-50"
+HKR, , NoInstallClass, , 1
+
+[Manufacturer]
+%GenericMfg% = GenericMfg
+
+[GenericMfg]
+;FIXME: We do not have a driver yet
+%Floppy.DeviceDesc% = NO_DRV, GenFloppyDisk
+;%Floppy.DeviceDesc% = floppy_Inst, GenFloppyDisk
+
+;----------------------------- FDC DRIVER -----------------------------
+
+[floppy_Inst.NT]
+CopyFiles = floppy_CopyFiles.NT
+
+[floppy_CopyFiles.NT]
+flpydisk.sys
+
+[flopy_Inst.NT.Services]
+AddService = flpydisk, 0x00000002, floppy_Service_Inst
+
+[floppy_Service_Inst]
+ServiceType    = 1
+StartType      = 3
+ErrorControl   = 1
+ServiceBinary  = %12%\flpydisk.sys
+
+
+;---------------------------- NO DRIVER REQ -----------------------------
+
+[NO_DRV]
+
+[NO_DRV.Services]
+AddService = , 0x00000002
+
+;-------------------------------- STRINGS -------------------------------
+
+[Strings]
+ReactOS = "ReactOS Team"
+
+FloppyClassName = "Floppy disk drives"
+GenericMfg = "(Generic floppy disk drives)"
+Floppy.DeviceDesc = "Generic floppy disk drive"
index 44dc64f..9af1205 100644 (file)
@@ -10,6 +10,7 @@ cpu.inf
 disk.inf\r
 display.inf\r
 fdc.inf\r
+flpydisk.inf\r
 hal.inf\r
 hdc.inf\r
 input.inf\r