g_NCR5380.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. README file for the Linux g_NCR5380 driver.
  2. (c) 1993 Drew Eckhard
  3. NCR53c400 extensions (c) 1994,1995,1996 Kevin Lentin
  4. This file documents the NCR53c400 extensions by Kevin Lentin and some
  5. enhancements to the NCR5380 core.
  6. This driver supports both NCR5380 and NCR53c400 cards in port or memory
  7. mapped modes. Currently this driver can only support one of those mapping
  8. modes at a time but it does support both of these chips at the same time.
  9. The next release of this driver will support port & memory mapped cards at
  10. the same time. It should be able to handle multiple different cards in the
  11. same machine.
  12. The drivers/scsi/Makefile has an override in it for the most common
  13. NCR53c400 card, the Trantor T130B in its default configuration:
  14. Port: 0x350
  15. IRQ : 5
  16. The NCR53c400 does not support DMA but it does have Pseudo-DMA which is
  17. supported by the driver.
  18. If the default configuration does not work for you, you can use the kernel
  19. command lines (eg using the lilo append command):
  20. ncr5380=port,irq,dma
  21. ncr53c400=port,irq
  22. or
  23. ncr5380=base,irq,dma
  24. ncr53c400=base,irq
  25. The driver does not probe for any addresses or ports other than those in
  26. the OVERRIDE or given to the kernel as above.
  27. This driver provides some information on what it has detected in
  28. /proc/scsi/g_NCR5380/x where x is the scsi card number as detected at boot
  29. time. More info to come in the future.
  30. When NCR53c400 support is compiled in, BIOS parameters will be returned by
  31. the driver (the raw 5380 driver does not and I don't plan to fiddle with
  32. it!).
  33. This driver works as a module.
  34. When included as a module, parameters can be passed on the insmod/modprobe
  35. command line:
  36. ncr_irq=xx the interrupt
  37. ncr_addr=xx the port or base address (for port or memory
  38. mapped, resp.)
  39. ncr_dma=xx the DMA
  40. ncr_5380=1 to set up for a NCR5380 board
  41. ncr_53c400=1 to set up for a NCR53C400 board
  42. e.g.
  43. modprobe g_NCR5380 ncr_irq=5 ncr_addr=0x350 ncr_5380=1
  44. for a port mapped NCR5380 board or
  45. modprobe g_NCR5380 ncr_irq=255 ncr_addr=0xc8000 ncr_53c400=1
  46. for a memory mapped NCR53C400 board with interrupts disabled.
  47. (255 should be specified for no or DMA interrupt, 254 to autoprobe for an
  48. IRQ line if overridden on the command line.)
  49. Kevin Lentin
  50. K.Lentin@cs.monash.edu.au