#include <minix/drivers.h>
#include <minix/driver_mt.h>
#include <minix/drvlib.h>
-#include <minix/u64.h>
#include <machine/pci.h>
#include <sys/ioc_disk.h>
#include <sys/mman.h>
#endif
}
-#if DEBUG
+#if 0
for (i= 0; i<64; i++)
printf("%x ", get_ee_word(dep, i));
printf("\n");
static void fxp_conf_hw(fxp_t *fp)
{
int mwi, ext_stat1, ext_stat2, lim_fifo, i82503, fc;
+#if VERBOSE
+ int i;
+#endif
fp->fxp_mode= FM_DISABLED; /* Superfluous */
ether_card_t *ec;
{
int r;
+#if VERBOSE
+ int i;
+#endif
/* General initialization */
ec->flags = ECF_EMPTY;
u16_t vid, did;
u32_t bar;
u8_t ilr;
+#if VERBOSE
+ char *dname;
+#endif
if ((rep->re_pcibus | rep->re_pcidev | rep->re_pcifunc) != 0)
{
u8_t v8;
u16_t v16;
u32_t v32;
+#if USE_INTS
+ int r, irq;
+#endif
devind= pp->p_devind;
if (debug)
u32_t csr_event, csr_present, csr_control;
u8_t v8;
u16_t v16;
+#if USE_INTS
+ int r;
+#endif
devind= pp->p_devind;
v8= pci_attr_r8(devind, TI_CARD_CTRL);