All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] sym53c8xx.c now works with 53c875 on parisc
@ 2000-06-23 11:31 Richard Hirst
  0 siblings, 0 replies; only message in thread
From: Richard Hirst @ 2000-06-23 11:31 UTC (permalink / raw)
  To: parisc-linux

Hi,
  I have fixed a couple of problems with parisc dynamic dma code so that
sym53c8xx.c now works on the 53c875 (on-board FWSCSI on my B180L).

The config options I used are:

CONFIG_SCSI_SYM53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
CONFIG_SCSI_NCR53C8XX_IOMAPPED=y

The main problem was that xxx_alloc_consistent() should return a
virtual address that is aligned to a power of 2 boundary equivalent
to the size requested.  We used get_vm_area() which doesn't worry about
alignment of returned areas.  I have got round this by introducing a
new get_aligned_vm_area() function in mm/vmalloc.c, but I guess that
is probably only temporary until we decide on the proper solution.
Other archs use get_free_pages and so avoid this problem.

Suggestions, anyone?

Richard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-23 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-23 11:31 [parisc-linux] sym53c8xx.c now works with 53c875 on parisc Richard Hirst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.