1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Fix probing on the alpha. It still causes the alpha to panic during

attach.
This commit is contained in:
Paul Saab 2001-04-03 00:26:34 +00:00
parent bb09faafdb
commit 05ba6e6a36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75102

View File

@ -382,7 +382,7 @@ STATIC Asr_softc_t * Asr_softc;
#if __FreeBSD_version >= 400000
#define PROBE_ARGS IN device_t tag
#define PROBE_RET int
#define PROBE_SET() u_long id = (pci_get_device(tag)<<16)|pci_get_vendor(tag)
#define PROBE_SET() u_int32_t id = (pci_get_device(tag)<<16)|pci_get_vendor(tag)
#define PROBE_RETURN(retval) if(retval){device_set_desc(tag,retval);return(0);}else{return(ENXIO);}
#define ATTACH_ARGS IN device_t tag
#define ATTACH_RET int