ciss.c (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | ciss.c (e17ef005281d89e506d628542530ffb964a93ead) |
---|---|
1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 315 unchanged lines hidden (view full) --- 324 { 0x103C, 0x323D, CISS_BOARD_SA5, "HP Smart Array P700m" }, 325 { 0x103C, 0x3241, CISS_BOARD_SA5, "HP Smart Array P212" }, 326 { 0x103C, 0x3243, CISS_BOARD_SA5, "HP Smart Array P410" }, 327 { 0x103C, 0x3245, CISS_BOARD_SA5, "HP Smart Array P410i" }, 328 { 0x103C, 0x3247, CISS_BOARD_SA5, "HP Smart Array P411" }, 329 { 0x103C, 0x3249, CISS_BOARD_SA5, "HP Smart Array P812" }, 330 { 0x103C, 0x324A, CISS_BOARD_SA5, "HP Smart Array P712m" }, 331 { 0x103C, 0x324B, CISS_BOARD_SA5, "HP Smart Array" }, | 1/*- 2 * Copyright (c) 2001 Michael Smith 3 * Copyright (c) 2004 Paul Saab 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 315 unchanged lines hidden (view full) --- 324 { 0x103C, 0x323D, CISS_BOARD_SA5, "HP Smart Array P700m" }, 325 { 0x103C, 0x3241, CISS_BOARD_SA5, "HP Smart Array P212" }, 326 { 0x103C, 0x3243, CISS_BOARD_SA5, "HP Smart Array P410" }, 327 { 0x103C, 0x3245, CISS_BOARD_SA5, "HP Smart Array P410i" }, 328 { 0x103C, 0x3247, CISS_BOARD_SA5, "HP Smart Array P411" }, 329 { 0x103C, 0x3249, CISS_BOARD_SA5, "HP Smart Array P812" }, 330 { 0x103C, 0x324A, CISS_BOARD_SA5, "HP Smart Array P712m" }, 331 { 0x103C, 0x324B, CISS_BOARD_SA5, "HP Smart Array" }, |
332 { 0x103C, 0x3351, CISS_BOARD_SA5, "HP Smart Array P420" }, | 332 { 0x103C, 0x3350, CISS_BOARD_SA5, "HP Smart Array P222" }, 333 { 0x103C, 0x3351, CISS_BOARD_SA5, "HP Smart Array P420" }, 334 { 0x103C, 0x3352, CISS_BOARD_SA5, "HP Smart Array P421" }, 335 { 0x103C, 0x3353, CISS_BOARD_SA5, "HP Smart Array P822" }, 336 { 0x103C, 0x3354, CISS_BOARD_SA5, "HP Smart Array P420i" }, 337 { 0x103C, 0x3355, CISS_BOARD_SA5, "HP Smart Array P220i" }, 338 { 0x103C, 0x3356, CISS_BOARD_SA5, "HP Smart Array P721m" }, |
333 { 0, 0, 0, NULL } 334}; 335 336/************************************************************************ 337 * Find a match for the device in our list of known adapters. 338 */ 339static int 340ciss_lookup(device_t dev) --- 4190 unchanged lines hidden (view full) --- 4531 } 4532 4533 case CCISS_GETPCIINFO: 4534 { 4535 cciss_pci_info_struct *pis = (cciss_pci_info_struct *)addr; 4536 4537 pis->bus = pci_get_bus(sc->ciss_dev); 4538 pis->dev_fn = pci_get_slot(sc->ciss_dev); | 339 { 0, 0, 0, NULL } 340}; 341 342/************************************************************************ 343 * Find a match for the device in our list of known adapters. 344 */ 345static int 346ciss_lookup(device_t dev) --- 4190 unchanged lines hidden (view full) --- 4537 } 4538 4539 case CCISS_GETPCIINFO: 4540 { 4541 cciss_pci_info_struct *pis = (cciss_pci_info_struct *)addr; 4542 4543 pis->bus = pci_get_bus(sc->ciss_dev); 4544 pis->dev_fn = pci_get_slot(sc->ciss_dev); |
4539 pis->board_id = pci_get_devid(sc->ciss_dev); | 4545 pis->board_id = (pci_get_subvendor(sc->ciss_dev) << 16) | 4546 pci_get_subdevice(sc->ciss_dev); |
4540 4541 break; 4542 } 4543 4544 case CCISS_GETINTINFO: 4545 { 4546 cciss_coalint_struct *cis = (cciss_coalint_struct *)addr; 4547 --- 105 unchanged lines hidden --- | 4547 4548 break; 4549 } 4550 4551 case CCISS_GETINTINFO: 4552 { 4553 cciss_coalint_struct *cis = (cciss_coalint_struct *)addr; 4554 --- 105 unchanged lines hidden --- |