diff options
author | ps <ps@FreeBSD.org> | 2001-04-03 00:26:34 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2001-04-03 00:26:34 +0000 |
commit | f4dcb13a7f6be1117a3fb2f647475b4e0b28b95b (patch) | |
tree | 6ecb25b10aaca180b0832ca3472616a6ac7f753f /sys | |
parent | 2ea2c1f6d8a5db9920d77d8318d30ac930510724 (diff) | |
download | FreeBSD-src-f4dcb13a7f6be1117a3fb2f647475b4e0b28b95b.zip FreeBSD-src-f4dcb13a7f6be1117a3fb2f647475b4e0b28b95b.tar.gz |
Fix probing on the alpha. It still causes the alpha to panic during
attach.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/asr/asr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c index 5ccc737..03311e8 100644 --- a/sys/dev/asr/asr.c +++ b/sys/dev/asr/asr.c @@ -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 |