if the INF will have some branch in it, may I suggest the following?

let's assume that there are 3 branches:
- for 945G (2772, 2776) ==> I noticed there's ID 2776 when I see the
original
- for 945GM (27A2, 27A6)
- for 945GME (27AE) ==> umm... is there any second device on 945GME?


because Mr. Angelic says we will still need to split each of them,
then what I can think at the moment is something like this:
on the [9xxssf.Mfg]
%iG0% = i9xxG0, PCI\VEN_8086&DEV_2772
%iG1% = i9xxG1, PCI\VEN_8086&DEV_2776
%iGX0% = i9xxGX0, PCI\VEN_8086&DEV_27A2
%iGX1% = i9xxGX1, PCI\VEN_8086&DEV_27A6
%iGXX0% = i9xxGXX0, PCI\VEN_8086&DEV_27AE
%iGXX1% = i9xxGXX1, PCI\VEN_8086&DEV_27AE ==> added if there's second
device in 945GME


and there will be something like:
[i9xxG0]
[i9xxG1]
[i9xxG0.HW]
[i9xxG1.HW] ==> I'm not sure about the second section, but because
Sherry have it, I'll just put it anyway

[i9xxGX0]
[i9xxGX1]
[i9xxGX0.HW]
[i9xxGX1.HW] ==> I'm not sure about the second section, but because
Sherry have it, I'll just put it anyway

[i9xxGXE0]
[i9xxGXE1] ==> again, added if there's second device in 945GME
[i9xxGXX0.HW]
[i9xxGXX1.HW] ==> I'm not sure about the second section, but because
Sherry have it, I'll just put it anyway


sections [i9xxx.HW] (i9xxx = 945G/GM/GME, depend) will have something
like this:
[i9xxG0.HW] and/or [i9xxG1.HW]
AddReg = igfx_G_HardwareDeviceSettings
==> note: originally, 945G don't have this (above) section, so I don't
know if it's useful or not

[i9xxGX0.HW] and/or [i9xxGX1.HW]
AddReg = igfx_GX_HardwareDeviceSettings

[i9xxGXX0.HW] and/or [i9xxGXX1.HW]
AddReg = igfx_GXX_HardwareDeviceSettings


note that I change the variables from the original, so I have to be
consistent for the rest of them
on MSI support, there will be 3 sections like the original, but
modified into:
[igfx_G_HardwareDeviceSettings]
; MSI Support
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
MSISupported, 0x00010001, 1
==> note: 945G originally don't have this (above) section, so I don't
know the default value and whether it is useful or not

[igfx_GX_HardwareDeviceSettings]
; MSI Support
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
MSISupported, 0x00010001, 1 ==> default 945GM is 1

[igfx_GXX_HardwareDeviceSettings]
; MSI Support
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",
MSISupported, 0x00010001, 0 ==> default 945GME is 0


next is the [i9xxx.CoInstallers] (again, i9xxx depend on the 945 type)
will have something like this:
[i9xxG0.CoInstallers]
[i9xxG1.CoInstallers]
[i9xxGX0.CoInstallers]
[i9xxGX1.CoInstallers]
[i9xxGXX0.CoInstallers]
[i9xxGXX1.CoInstallers] ==> added if there's second device in 945GME


next is the [i9xxx.Services] (again, i9xxx depend on the 945 type)
will have something like this:
[i9xxG0.Services]
[i9xxG1.Services]
[i9xxGX0.Services]
[i9xxGX1.Services]
[i9xxGXX0.Services]
[i9xxGXX1.Services] ==> added if there's second device in 945GME


next is the [i9xxx.GeneralConfigData] (again, i9xxx depend on the 945
type) will have something like this:
[i9xxG0.GeneralConfigData]
[i9xxG1.GeneralConfigData]
[i9xxGX0.GeneralConfigData]
[i9xxGX1.GeneralConfigData]
[i9xxGXX0.GeneralConfigData]
[i9xxGXX1.GeneralConfigData] ==> added if there's second device in
945GME


and the last is on Localizable Strings will have something like this:
iG0 = "9xxssf 945G Sherry V1.2"
iG1 = "9xxssf 945G Sherry V1.2"
iGX0 = "9xxssf 945GM Sherry V1.2"
iGX1 = "9xxssf 945GM Sherry V1.2"
iGXX0 = "9xxssf 945GME Sherry V1.2"
iGXX1 = "9xxssf 945GME Sherry V1.2" ==> added if there's second device
in 945GME

I made the examples above with different strings with a hope that
everyone can make sure the installer do the right things even though
the steps are very similar each one another (only a slight difference
in MSI support, adn numbers of device in 945GME).

...
sigh T_T, it turns out that if we want to branch the MSI support, then
we'll have to branch the other section, too.
(or am I getting lost somewhere? I feel dizzy right now >,<)
(btw, the strings can be freely changed as long as you can consistent
with them)


This is just an idea.
This is JUST THEORY.
I haven't tested it myself.
I'm also not a computer expert.
I might have MISTAKES (even very BIG mistakes).
so please, please, very very please, don't just apply them directly to
Sherry


I'll let the experts to see my idea and tell me whether it's good, or
it's REALLY BAD idea (preparing to cry... waaa T_T)

-- 
9xx SOLDIERS SANS FRONTIERS

Reply via email to