patch-2.4.22 linux-2.4.22/drivers/net/ns83820.c
Next file: linux-2.4.22/drivers/net/pci-skeleton.c
Previous file: linux-2.4.22/drivers/net/ne2k-pci.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/ns83820.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.21/drivers/net/ns83820.c linux-2.4.22/drivers/net/ns83820.c
@@ -1766,7 +1766,7 @@
int using_dac = 0;
/* See if we can set the dma mask early on; failure is fatal. */
- if (TRY_DAC && !pci_set_dma_mask(pci_dev, 0xffffffffffffffff)) {
+ if (TRY_DAC && !pci_set_dma_mask(pci_dev, 0xffffffffffffffffULL)) {
using_dac = 1;
} else if (!pci_set_dma_mask(pci_dev, 0xffffffff)) {
using_dac = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)