From 97930d62527e2590b0dc1c99f5a9b592e92d7bfe Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 5 Feb 2001 02:39:20 +0000 Subject: [PATCH] removed irrelevant comment --- comedi/drivers/ni_pcimio.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/comedi/drivers/ni_pcimio.c b/comedi/drivers/ni_pcimio.c index a4b5d0e0..f5b5fde8 100644 --- a/comedi/drivers/ni_pcimio.c +++ b/comedi/drivers/ni_pcimio.c @@ -373,26 +373,11 @@ comedi_driver driver_pcimio={ /* * this is how we access windowed registers - * - * from a driver perspective, using windowed registers - * on the PCI-MIO is really dumb. I'd bet that the - * registers can actually be acessed without windowing... - * must try this sometime... - * - * but it doesn't work... */ - -#if 0 -#define win_out(a,b) (ni_writew((a),(b)*2)) -#define win_in(b) (ni_readw((b)*2)) -#define win_save() 0 -#define win_restore(a) -#else #define win_out(a,b) (ni_writew((b),Window_Address),ni_writew((a),Window_Data)) #define win_in(b) (ni_writew((b),Window_Address),ni_readw(Window_Data)) #define win_save() (ni_readw(Window_Address)) #define win_restore(a) (ni_writew((a),Window_Address)) -#endif /* If interrupts _still_ don't work, play with the -- 2.26.2