Security check on physical address to be < 16 MB (ISA DMA uses 24-bit

addressing, which can address 16 MB max).
Floppy driver now dynamically loaded.
This commit is contained in:
Jorrit Herder
2005-08-05 16:23:42 +00:00
parent 655d1e074f
commit 7de7ca978d
5 changed files with 32 additions and 10 deletions

View File

@@ -41,6 +41,7 @@
#if (CHIP == INTEL)
#if USE_EXTRA_DMA_BUF && DMA_BUF_SIZE < 2048
/* A bit extra scratch for the Adaptec driver. */
#define BUF_EXTRA (2048 - DMA_BUF_SIZE)
@@ -156,7 +157,7 @@ PRIVATE void init_buffer()
tmp_buf += left;
tmp_phys += left;
}
#endif /* CHIP != INTEL */
#endif /* CHIP == INTEL */
}