- From: bryan cole <bryan.cole_at_teraview.com>
- Date: Tue, 20 Apr 2004 16:15:02 +0100
Frank, You're an absolute hero! It works. I've attached below a log of the current build warnings (i.e. with todays CVS version). The ni_mio_xxx warnings are gone, but there are others which may indicate a problem for other cards/drivers on amd64. Thanks again for the fast fix (I'll be boasting to my windows-lovin collegues of the joys of open source all afternoon...) cheers, Bryan stderr as follows... adl_pci9111.c: In function `pci9111_interrupt': adl_pci9111.c:930: warning: unused variable `handled' adl_pci9118.c: In function `pci9118_detach': adl_pci9118.c:1876: warning: cast from pointer to integer of different size adl_pci9118.c:1877: warning: cast from pointer to integer of different size adv_pci1710.c: In function `interrupt_service_pci1710': adv_pci1710.c:722: warning: unused variable `retval' amplc_pci230.c: In function `pci230_interrupt': amplc_pci230.c:1131: warning: unused variable `retval' amplc_pc236.c: In function `pc236_interrupt': amplc_pc236.c:543: warning: unused variable `retval' cb_pcidas.c: In function `cb_pcidas_interrupt': cb_pcidas.c:1521: warning: unused variable `retval' cb_pcidas64.c: In function `handle_interrupt': cb_pcidas64.c:3001: warning: unused variable `retval' cb_pcidas64.c: In function `read_eeprom': cb_pcidas64.c:3629: warning: cast to pointer from integer of different size cb_pcidas64.c:3633: warning: cast to pointer from integer of different size cb_pcidas64.c:3644: warning: cast to pointer from integer of different size cb_pcidas64.c:3648: warning: cast to pointer from integer of different size cb_pcidas64.c:3651: warning: cast to pointer from integer of different size cb_pcidas64.c:3660: warning: cast to pointer from integer of different size cb_pcidas64.c:3663: warning: cast to pointer from integer of different size cb_pcidas64.c:3665: warning: cast to pointer from integer of different size cb_pcidas64.c:3672: warning: cast to pointer from integer of different size daqboard2000.c: In function `daqboard2000_attach': daqboard2000.c:737: warning: cast to pointer from integer of different size daqboard2000.c:755: warning: cast from pointer to integer of different size dt3000.c: In function `setup_pci': dt3000.c:886: warning: cast from pointer to integer of different size ii_pci20kc.c: In function `pci20006_insn_write': ii_pci20kc.c:330: warning: cast to pointer from integer of different size ii_pci20kc.c:331: warning: cast to pointer from integer of different size ii_pci20kc.c:332: warning: cast to pointer from integer of different size ii_pci20kc.c:335: warning: cast to pointer from integer of different size ii_pci20kc.c:336: warning: cast to pointer from integer of different size ii_pci20kc.c:337: warning: cast to pointer from integer of different size ii_pci20kc.c: In function `pci20341_init': ii_pci20kc.c:388: warning: cast to pointer from integer of different size ii_pci20kc.c:389: warning: cast to pointer from integer of different size ii_pci20kc.c:390: warning: cast to pointer from integer of different size ii_pci20kc.c:391: warning: cast to pointer from integer of different size ii_pci20kc.c: In function `pci20341_insn_read': ii_pci20kc.c:406: warning: cast to pointer from integer of different size ii_pci20kc.c:411: warning: cast to pointer from integer of different size ii_pci20kc.c:412: warning: cast to pointer from integer of different size ii_pci20kc.c:413: warning: cast to pointer from integer of different size ii_pci20kc.c:423: warning: cast to pointer from integer of different size ii_pci20kc.c:424: warning: cast to pointer from integer of different size ii_pci20kc.c:427: warning: cast to pointer from integer of different size ii_pci20kc.c:433: warning: cast to pointer from integer of different size ii_pci20kc.c:434: warning: cast to pointer from integer of different size icp_multi.c: In function `icp_multi_attach': icp_multi.c:922: warning: cast from pointer to integer of different size me_daq.c: In function `me_dio_insn_config': me_daq.c:311: warning: cast to pointer from integer of different size me_daq.c:319: warning: cast to pointer from integer of different size me_daq.c: In function `me_dio_insn_bits': me_daq.c:351: warning: cast to pointer from integer of different size me_daq.c:356: warning: cast to pointer from integer of different size me_daq.c:361: warning: cast to pointer from integer of different size me_daq.c:366: warning: cast to pointer from integer of different size me_daq.c: In function `me_ai_insn_read': me_daq.c:394: warning: cast to pointer from integer of different size me_daq.c:398: warning: cast to pointer from integer of different size me_daq.c:401: warning: cast to pointer from integer of different size me_daq.c:405: warning: cast to pointer from integer of different size me_daq.c:412: warning: cast to pointer from integer of different size me_daq.c:416: warning: cast to pointer from integer of different size me_daq.c:419: warning: cast to pointer from integer of different size me_daq.c:424: warning: cast to pointer from integer of different size me_daq.c:433: warning: cast to pointer from integer of different size me_daq.c:443: warning: cast to pointer from integer of different size me_daq.c: In function `me_ai_cancel': me_daq.c:465: warning: cast to pointer from integer of different size me_daq.c: In function `me_ao_insn_write': me_daq.c:509: warning: cast to pointer from integer of different size me_daq.c:513: warning: cast to pointer from integer of different size me_daq.c:527: warning: cast to pointer from integer of different size me_daq.c:530: warning: cast to pointer from integer of different size me_daq.c:536: warning: cast to pointer from integer of different size me_daq.c:541: warning: cast to pointer from integer of different size me_daq.c: In function `me2600_xilinx_download': me_daq.c:582: warning: cast to pointer from integer of different size me_daq.c:585: warning: cast to pointer from integer of different size me_daq.c:591: warning: cast to pointer from integer of different size me_daq.c:615: warning: cast to pointer from integer of different size me_daq.c:621: warning: cast to pointer from integer of different size me_daq.c:625: warning: cast to pointer from integer of different size me_daq.c:629: warning: cast to pointer from integer of different size me_daq.c:638: warning: cast to pointer from integer of different size me_daq.c: In function `me_reset': me_daq.c:650: warning: cast to pointer from integer of different size me_daq.c:651: warning: cast to pointer from integer of different size me_daq.c:652: warning: cast to pointer from integer of different size me_daq.c:653: warning: cast to pointer from integer of different size me_daq.c: In function `me_attach': me_daq.c:786: warning: cast from pointer to integer of different size me_daq.c:801: warning: cast from pointer to integer of different size me_daq.c:809: warning: cast to pointer from integer of different size ni_660x.c: In function `ni_660x_GPCT_rinsn': ni_660x.c:865: warning: cast to pointer from integer of different size ni_660x.c:866: warning: cast to pointer from integer of different size ni_660x.c:871: warning: cast to pointer from integer of different size ni_pcidio.c: In function `nidio_interrupt': ni_pcidio.c:402: warning: unused variable `retval' pcm3730.c: In function `pcm3730_do_insn_bits': pcm3730.c:50: warning: cast from pointer to integer of different size pcm3730.c: In function `pcm3730_di_insn_bits': pcm3730.c:61: warning: cast from pointer to integer of different size usbdux.c: In function `usbduxsub_submit_InURBs': usbdux.c:923: warning: cast from pointer to integer of different size usbdux.c:924: warning: cast from pointer to integer of different size usbdux.c: In function `read_firmware': usbdux.c:1886: warning: cast to pointer from integer of different size comedi_fops.c: In function `do_devconfig_ioctl': comedi_fops.c:182: warning: cast to pointer from integer of different size > > These warnings should be fixed now. If you still get compile warnings > with the current cvs, I'd like to see them. It looks like the board's > base address was getting mapped into a memory address too big to hold in > the old dev->iobase variable (was an int, it's now unsigned long). > -- Bryan Cole Teraview Ltd., 302-304 Cambridge Science Park, Milton Road, Cambridge CB4 0WG, United Kingdom. tel: +44 (1223) 435380 / 435386 (direct-dial) fax: +44 (1223) 435382
Received on 2004-04-20Z14:15:02