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:
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user