Add more nForce4 SMBus 2.0 PCI IDs.

This commit is contained in:
ru 2006-08-18 19:56:40 +00:00
parent 5642c992cd
commit 5e69f4fca8

View File

@ -34,6 +34,9 @@ static int nfsmb_debug = 0;
#define NFSMB_DEVICEID_NF3_PRO150_SMB 0x00d4
#define NFSMB_DEVICEID_NF3_250GB_SMB 0x00e4
#define NFSMB_DEVICEID_NF4_SMB 0x0052
#define NFSMB_DEVICEID_NF4_04_SMB 0x0034
#define NFSMB_DEVICEID_NF4_51_SMB 0x0264
#define NFSMB_DEVICEID_NF4_55_SMB 0x0368
/* PCI Configuration space registers */
#define NF2PCI_SMBASE_1 PCIR_BAR(4)
@ -117,6 +120,9 @@ nfsmb_probe(device_t dev)
case NFSMB_DEVICEID_NF3_PRO150_SMB:
case NFSMB_DEVICEID_NF3_250GB_SMB:
case NFSMB_DEVICEID_NF4_SMB:
case NFSMB_DEVICEID_NF4_04_SMB:
case NFSMB_DEVICEID_NF4_51_SMB:
case NFSMB_DEVICEID_NF4_55_SMB:
device_set_desc(dev, "nForce2/3/4 MCP SMBus Controller");
return (BUS_PROBE_DEFAULT);
}
@ -184,6 +190,9 @@ nfsmb_attach(device_t dev)
case NFSMB_DEVICEID_NF3_PRO150_SMB:
case NFSMB_DEVICEID_NF3_250GB_SMB:
case NFSMB_DEVICEID_NF4_SMB:
case NFSMB_DEVICEID_NF4_04_SMB:
case NFSMB_DEVICEID_NF4_51_SMB:
case NFSMB_DEVICEID_NF4_55_SMB:
/* Trying to add secondary device as slave */
nfsmb_sc->subdev = device_add_child(dev, "nfsmb", -1);
if (!nfsmb_sc->subdev)