diff options
author | scottl <scottl@FreeBSD.org> | 2005-01-30 17:45:45 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-01-30 17:45:45 +0000 |
commit | 8820587be94cfff738ac11f711e8f66da31e9d63 (patch) | |
tree | 67a0aca7070b8cf1ffec290dc888e322dece9641 /sys/dev/ips/ips_pci.c | |
parent | 82beae992307dc5c1203a25a8f529995a356dfec (diff) | |
download | FreeBSD-src-8820587be94cfff738ac11f711e8f66da31e9d63.zip FreeBSD-src-8820587be94cfff738ac11f711e8f66da31e9d63.tar.gz |
Add crashdump support to the ips driver. It only works for the more modern
ServeRAID 4 - 7 models right now. Support for older cards is possible, but
I don't have any hardware to experiment with.
Thanks to Jack Hammer at Adaptec for providing debugging hints.
Sponsored by: ImproWare AG, Switzerland
Diffstat (limited to 'sys/dev/ips/ips_pci.c')
-rw-r--r-- | sys/dev/ips/ips_pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c index 3b76c93..a8de5e4 100644 --- a/sys/dev/ips/ips_pci.c +++ b/sys/dev/ips/ips_pci.c @@ -77,14 +77,17 @@ static int ips_pci_attach(device_t dev) sc->ips_adapter_reinit = ips_morpheus_reinit; sc->ips_adapter_intr = ips_morpheus_intr; sc->ips_issue_cmd = ips_issue_morpheus_cmd; + sc->ips_poll_cmd = ips_morpheus_poll; } else if(pci_get_device(dev) == IPS_COPPERHEAD_DEVICE_ID){ sc->ips_adapter_reinit = ips_copperhead_reinit; sc->ips_adapter_intr = ips_copperhead_intr; sc->ips_issue_cmd = ips_issue_copperhead_cmd; + sc->ips_poll_cmd = ips_copperhead_poll; } else if (pci_get_device(dev) == IPS_MARCO_DEVICE_ID){ sc->ips_adapter_reinit = ips_morpheus_reinit; sc->ips_adapter_intr = ips_morpheus_intr; sc->ips_issue_cmd = ips_issue_morpheus_cmd; + sc->ips_poll_cmd = ips_morpheus_poll; } else goto error; /* make sure busmastering is on */ |