home *** CD-ROM | disk | FTP | other *** search
- Howdy!
-
- I tried this last night...
-
- |Could anyone with a GVP controller and the system ready to compile a
- |kernel try the following patch:
- |
- |*** gvp11dma.c Sun Nov 21 22:37:26 1993
- |--- /tmp/gvp11dma.c Mon Dec 13 19:29:55 1993
- |***************
- |*** 77,82 ****
- | * the buffer pages are physically contiguous (MAXPHYS/NBPG) and the
- | * buffer is not page aligned (+1).
- | */
- |! #define DMAMAXIO (MAXPHYS/NBPG+1)
- |
- | struct dma_chain {
- |--- 77,83 ----
- | * the buffer pages are physically contiguous (MAXPHYS/NBPG) and the
- | * buffer is not page aligned (+1).
- |+ * Sigh, GVP wants 512 byte blocks, NBPG almost stalls the machine..
- | */
- |! #define DMAMAXIO (MAXPHYS/512+1)
- |
- | struct dma_chain {
- |***************
- |*** 249,253 ****
- |
- | dcp->dc_addr = (char *) kvtop(addr);
- |! if (count < (tcount = NBPG - ((int)addr & PGOFSET)))
- | tcount = count;
- | dcp->dc_count = tcount;
- |--- 250,254 ----
- |
- | dcp->dc_addr = (char *) kvtop(addr);
- |! if (count < (tcount = 512 - ((int)addr & 511)))
- | tcount = count;
- | dcp->dc_count = tcount;
- |
-
-
- Unfortunately, the system still hangs on boot up. I tried it with and
- without 32-bit RAM enabled. Perhaps I need newer kernel sources. I am
- still using v713 until 720 (or later) becomes more stable. Did anyone
- else try and see different behaviour?
-
- Rob
-
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- + Rob Tulloh WPX Development rtulloh@austin.ibm.com +
- + IBM, Bldg 42, Rm 1B061, 11400 Burnet Rd. Austin, TX (512) 823-6287 +
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-