login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
20
Re: [PATCH 12/18] ide: use ->tf_load in actual_try_to_identify()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sergei Shtylyov <sshtylyov@...>
To: Bartlomiej Zolnierkiewicz <bzolnier@...>
Cc: <linux-ide@...>, <linux-kernel@...>
Subject:
Re: [PATCH 12/18] ide: use ->tf_load in actual_try_to_identify()
Date: Friday, June 20, 2008 - 7:14 pm
Hello. Bartlomiej Zolnierkiewicz wrote:
quoted text
> Convert actual_try_to_identify() to use ->tf_load instead of ->OUTB. > > There should be no functional changes caused by this patch. > > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> >
[...]
quoted text
> Index: b/drivers/ide/ide-probe.c > =================================================================== > --- a/drivers/ide/ide-probe.c > +++ b/drivers/ide/ide-probe.c > @@ -290,9 +290,15 @@ static int actual_try_to_identify (ide_d > /* set features register for atapi > * identify command to be sure of reply > */ > - if ((cmd == WIN_PIDENTIFY)) > - /* disable dma & overlap */ > - hwif->OUTB(0, io_ports->feature_addr); > + if (cmd == WIN_PIDENTIFY) { > + ide_task_t task; > + > + memset(&task, 0, sizeof(task)); > + /* disable DMA & overlap */ > + task.tf_flags = IDE_TFLAG_OUT_FEATURE; > + > + drive->hwif->tf_load(drive, &task); > + } >
Eww, this is bulky but should be a part of your plan to switch to tf_load() method... WBR, Sergei --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 01/18] ide: add ->read_sff_dma_status method
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:33 pm)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Sergei Shtylyov
, (Wed Sep 3, 9:19 am)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Bartlomiej Zolnierkiewicz...
, (Wed Sep 3, 2:13 pm)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Sergei Shtylyov
, (Sun Sep 7, 2:15 pm)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Bartlomiej Zolnierkiewicz...
, (Sun Sep 7, 3:23 pm)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Sergei Shtylyov
, (Sun Sep 7, 6:26 pm)
Re: [PATCH 01/18] ide: add ->read_sff_dma_status method
, Sergei Shtylyov
, (Sun Sep 7, 2:49 pm)
[PATCH 18/18] ide: remove ->INB, ->OUTB and ->OUTBSYNC methods
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:35 pm)
[PATCH 17/18] ide: add ide_read_bcount_and_ireason() helper
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:35 pm)
[PATCH 16/18] ide: add ide_read_ireason() helper
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:35 pm)
[PATCH 15/18] ide: add ide_read_device() helper
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:35 pm)
[PATCH 14/18] ide: use ->tf_read in ide_read_error()
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 13/18] ide: use ->tf_load in SELECT_DRIVE()
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 12/18] ide: use ->tf_load in actual_try_to_identify()
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
Re: [PATCH 12/18] ide: use ->tf_load in actual_try_to_ide...
, Sergei Shtylyov
, (Fri Jun 20, 7:14 pm)
Re: [PATCH 12/18] ide: use ->tf_load in actual_try_to_ide...
, Bartlomiej Zolnierkiewicz...
, (Sat Jun 21, 3:10 pm)
[PATCH 11/18] ide: use ->tf_load in ide_config_drive_speed()
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 10/18] ide: change order of register access in ide_co...
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 09/18] ide: add ->set_irq method
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
Re: [PATCH 09/18] ide: add ->set_irq method
, Sergei Shtylyov
, (Wed Oct 15, 8:20 am)
Re: [PATCH 09/18] ide: add ->set_irq method
, Bartlomiej Zolnierkiewicz...
, (Wed Oct 15, 2:22 pm)
Re: [PATCH 09/18] ide: add ->set_irq method
, Sergei Shtylyov
, (Wed Oct 15, 5:22 pm)
[PATCH 08/18] ide: add ->read_altstatus method
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 07/18] ide: add ->read_status method
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 06/18] ide: add ->exec_command method
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:34 pm)
[PATCH 05/18] ide: factor out simplex handling from ide_pci_...
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:33 pm)
[PATCH 04/18] ide: remove ide_setup_dma()
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:33 pm)
Re: [PATCH 04/18] ide: remove ide_setup_dma()
, Sergei Shtylyov
, (Thu Aug 21, 1:16 pm)
Re: [PATCH 04/18] ide: remove ide_setup_dma()
, Sergei Shtylyov
, (Thu Aug 21, 1:56 pm)
Re: [PATCH 04/18] ide: remove ide_setup_dma()
, Sergei Shtylyov
, (Fri Jun 20, 6:03 pm)
Re: [PATCH 04/18] ide: remove ide_setup_dma()
, Bartlomiej Zolnierkiewicz...
, (Sat Jun 21, 3:06 pm)
Re: [PATCH 04/18] ide: remove ide_setup_dma()
, Sergei Shtylyov
, (Sat Jun 21, 3:29 pm)
[PATCH 03/18] ide: remove ->dma_{status,command} fields f...
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:33 pm)
[PATCH 02/18] ide: use I/O ops directly in ide-dma.c
, Bartlomiej Zolnierkiewicz...
, (Fri Jun 20, 5:33 pm)
Re: [PATCH 02/18] ide: use I/O ops directly in ide-dma.c
, Sergei Shtylyov
, (Mon Sep 8, 11:49 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Linus Torvalds
Linux 2.6.25-rc4
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Andrew Morton
Re: [BUG] New Kernel Bugs
Radu Rendec
htb parallelism on multi-core platforms
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
604 guests
online.
Online users
strcmp
dougstap74
Syndicate