Commit 38d090b0 authored by Ahmed S. Darwish's avatar Ahmed S. Darwish Committed by Linus Torvalds

NCR53C8XX: Remove deprecated IRQ flags (SA_*)

Stop using deprecated IRQ flags in ncr53c8xx documentaion.  The new IRQF_*
macros are used instead.
Signed-off-by: default avatarAhmed S. Darwish <darwish.07@gmail.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 96fdc72d
...@@ -195,9 +195,9 @@ Sun Feb 14:00 1999 Gerard Roudier (groudier@club-internet.fr) ...@@ -195,9 +195,9 @@ Sun Feb 14:00 1999 Gerard Roudier (groudier@club-internet.fr)
Pointed out by Leonard Zubkoff. Pointed out by Leonard Zubkoff.
- Allow to tune request_irq() flags from the boot command line using - Allow to tune request_irq() flags from the boot command line using
ncr53c8xx=irqm:??, as follows: ncr53c8xx=irqm:??, as follows:
a) If bit 0x10 is set in irqm, SA_SHIRQ flag is not used. a) If bit 0x10 is set in irqm, IRQF_SHARED flag is not used.
b) If bit 0x20 is set in irqm, SA_INTERRUPT flag is not used. b) If bit 0x20 is set in irqm, IRQF_DISABLED flag is not used.
By default the driver uses both SA_SHIRQ and SA_INTERRUPT. By default the driver uses both IRQF_SHARED and IRQF_DISABLED.
Option 'ncr53c8xx=irqm:0x20' may be used when an IRQ is shared by Option 'ncr53c8xx=irqm:0x20' may be used when an IRQ is shared by
a 53C8XX adapter and a network board. a 53C8XX adapter and a network board.
- Tiny mispelling fixed (ABORT instead of ABRT). Was fortunately - Tiny mispelling fixed (ABORT instead of ABRT). Was fortunately
......
...@@ -785,8 +785,8 @@ port address 0x1400. ...@@ -785,8 +785,8 @@ port address 0x1400.
irqm:0 always open drain irqm:0 always open drain
irqm:1 same as initial settings (assumed BIOS settings) irqm:1 same as initial settings (assumed BIOS settings)
irqm:2 always totem pole irqm:2 always totem pole
irqm:0x10 driver will not use SA_SHIRQ flag when requesting irq irqm:0x10 driver will not use IRQF_SHARED flag when requesting irq
irqm:0x20 driver will not use SA_INTERRUPT flag when requesting irq irqm:0x20 driver will not use IRQF_DISABLED flag when requesting irq
(Bits 0x10 and 0x20 can be combined with hardware irq mode option) (Bits 0x10 and 0x20 can be combined with hardware irq mode option)
...@@ -1236,15 +1236,15 @@ when the SCSI DATA IN phase is reentered after a phase mismatch. ...@@ -1236,15 +1236,15 @@ when the SCSI DATA IN phase is reentered after a phase mismatch.
When an IRQ is shared by devices that are handled by different drivers, it When an IRQ is shared by devices that are handled by different drivers, it
may happen that one driver complains about the request of the IRQ having may happen that one driver complains about the request of the IRQ having
failed. Inder Linux-2.0, this may be due to one driver having requested the failed. Inder Linux-2.0, this may be due to one driver having requested the
IRQ using the SA_INTERRUPT flag but some other having requested the same IRQ IRQ using the IRQF_DISABLED flag but some other having requested the same IRQ
without this flag. Under both Linux-2.0 and linux-2.2, this may be caused by without this flag. Under both Linux-2.0 and linux-2.2, this may be caused by
one driver not having requested the IRQ with the SA_SHIRQ flag. one driver not having requested the IRQ with the IRQF_SHARED flag.
By default, the ncr53c8xx and sym53c8xx drivers request IRQs with both the By default, the ncr53c8xx and sym53c8xx drivers request IRQs with both the
SA_INTERRUPT and the SA_SHIRQ flag under Linux-2.0 and with only the SA_SHIRQ IRQF_DISABLED and the IRQF_SHARED flag under Linux-2.0 and with only the IRQF_SHARED
flag under Linux-2.2. flag under Linux-2.2.
Under Linux-2.0, you can disable use of SA_INTERRUPT flag from the boot Under Linux-2.0, you can disable use of IRQF_DISABLED flag from the boot
command line by using the following option: command line by using the following option:
ncr53c8xx=irqm:0x20 (for the generic ncr53c8xx driver) ncr53c8xx=irqm:0x20 (for the generic ncr53c8xx driver)
...@@ -1252,7 +1252,7 @@ command line by using the following option: ...@@ -1252,7 +1252,7 @@ command line by using the following option:
If this does not fix the problem, then you may want to check how all other If this does not fix the problem, then you may want to check how all other
drivers are requesting the IRQ and report the problem. Note that if at least drivers are requesting the IRQ and report the problem. Note that if at least
a single driver does not request the IRQ with the SA_SHIRQ flag (share IRQ), a single driver does not request the IRQ with the IRQF_SHARED flag (share IRQ),
then the request of the IRQ obviously will not succeed for all the drivers. then the request of the IRQ obviously will not succeed for all the drivers.
15. SCSI problem troubleshooting 15. SCSI problem troubleshooting
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment