* Re: [PATCH] kill old EH constants
[not found] <200504210608.j3L682Br002585@hera.kernel.org>
@ 2005-04-21 9:58 ` Geert Uytterhoeven
2005-04-21 10:09 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2005-04-21 9:58 UTC (permalink / raw)
To: James E.J. Bottomley; +Cc: Linux Kernel Development, linux-scsi, Linux/m68k
On Wed, 20 Apr 2005, Linux Kernel Mailing List wrote:
> tree 932c6f9689fd08a7a9d689cfbec8682ccde8175d
> parent 84011ae88da62a20b3ae7b48e2ae3b1ef0fc810a
> author <hch@lst.de> Mon, 11 Apr 2005 08:19:25 -0500
> committer James Bottomley <jejb@titanic> Sun, 17 Apr 2005 06:14:52 -0500
>
> [PATCH] kill old EH constants
>
> Fix up two drivers that incorrectly were using the old return values for
> their new-style EH methods and kill off scsi_obsolete.h that defined the
> constants. The initio driver has all these constansts defined locally
> and uses them internally, I'll fix that up some time later.
>
> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
sun3_NCR5380.c still uses the following:
- SCSI_ABORT_SUCCESS
- SCSI_ABORT_ERROR
- SCSI_ABORT_SNOOZE
- SCSI_ABORT_BUSY
- SCSI_ABORT_NOT_RUNNING
- SCSI_RESET_SUCCESS
- SCSI_RESET_BUS_RESET
causing the driver to fail to build in 2.6.12-rc3. What should I replace them
by?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kill old EH constants
2005-04-21 9:58 ` [PATCH] kill old EH constants Geert Uytterhoeven
@ 2005-04-21 10:09 ` Christoph Hellwig
2005-04-21 13:41 ` Sam Creasey
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2005-04-21 10:09 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: James E.J. Bottomley, Linux Kernel Development, linux-scsi, Linux/m68k
On Thu, Apr 21, 2005 at 11:58:12AM +0200, Geert Uytterhoeven wrote:
> sun3_NCR5380.c still uses the following:
>
> - SCSI_ABORT_SUCCESS
> - SCSI_ABORT_ERROR
> - SCSI_ABORT_SNOOZE
> - SCSI_ABORT_BUSY
> - SCSI_ABORT_NOT_RUNNING
> - SCSI_RESET_SUCCESS
> - SCSI_RESET_BUS_RESET
>
> causing the driver to fail to build in 2.6.12-rc3. What should I replace them
> by?
You must replace NCR5380_abort and NCR5380_bus_reset with real new-style
EH routines. I'd suggest copying them from NCR5380.c or even better
scrapping sun3_NCR5380.c in favour of that one completely.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kill old EH constants
2005-04-21 10:09 ` Christoph Hellwig
@ 2005-04-21 13:41 ` Sam Creasey
0 siblings, 0 replies; 3+ messages in thread
From: Sam Creasey @ 2005-04-21 13:41 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Geert Uytterhoeven, James E.J. Bottomley,
Linux Kernel Development, linux-scsi, Linux/m68k
On Thu, 21 Apr 2005, Christoph Hellwig wrote:
> On Thu, Apr 21, 2005 at 11:58:12AM +0200, Geert Uytterhoeven wrote:
> > sun3_NCR5380.c still uses the following:
> >
> > - SCSI_ABORT_SUCCESS
> > - SCSI_ABORT_ERROR
> > - SCSI_ABORT_SNOOZE
> > - SCSI_ABORT_BUSY
> > - SCSI_ABORT_NOT_RUNNING
> > - SCSI_RESET_SUCCESS
> > - SCSI_RESET_BUS_RESET
> >
> > causing the driver to fail to build in 2.6.12-rc3. What should I replace them
> > by?
>
> You must replace NCR5380_abort and NCR5380_bus_reset with real new-style
> EH routines. I'd suggest copying them from NCR5380.c or even better
> scrapping sun3_NCR5380.c in favour of that one completely.
Trust me, there's reasons we don't use NCR5380.c.... (primarily, this has
to due with the order of operations necessary to keep the DMA controller
happpy, which required changing the flow of several functions
(admittedly, I haven't looked into this again since the "new-style"
driver change)).
That being said, it seems the first option needs done. I suppose I'll
add fixing those two routines to my long list of backlogged sun3 stuff
which needs doing.
-- Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-21 13:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200504210608.j3L682Br002585@hera.kernel.org>
2005-04-21 9:58 ` [PATCH] kill old EH constants Geert Uytterhoeven
2005-04-21 10:09 ` Christoph Hellwig
2005-04-21 13:41 ` Sam Creasey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®