Linux ATA/IDE development
 help / color / mirror / Atom feed
* PATCH: Put the new API functions in the header files
@ 2004-11-05 16:32 Alan Cox
  2004-11-05 22:02 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2004-11-05 16:32 UTC (permalink / raw)
  To: linux-ide, Bartlomiej Zolnierkiewicz

diff --exclude-from /usr/src/exclude -u --new-file --recursive linux.vanilla-2.6.10rc1/include/linux/ide.h linux-2.6.10rc1/include/linux/ide.h
--- linux.vanilla-2.6.10rc1/include/linux/ide.h	2004-11-05 15:42:18.000000000 +0000
+++ linux-2.6.10rc1/include/linux/ide.h	2004-11-05 16:26:18.000000000 +0000
@@ -266,6 +266,7 @@
  * Register new hardware with ide
  */
 int ide_register_hw(hw_regs_t *hw, struct hwif_s **hwifp);
+int ide_register_hw_with_fixup(hw_regs_t *hw, struct hwif_s **hwifp, void (*fixup)(struct hwif_s *));
 
 /*
  * Set up hw_regs_t structure before calling ide_register_hw (optional)
@@ -1470,6 +1475,7 @@
 	void			(*init_iops)(ide_hwif_t *);
 	void                    (*init_hwif)(ide_hwif_t *);
 	void			(*init_dma)(ide_hwif_t *, unsigned long);
+	void			(*fixup)(ide_hwif_t *);
 	u8			channels;
 	u8			autodma;
 	ide_pci_enablebit_t	enablebits[2];
@@ -1529,6 +1535,8 @@
 extern void ide_unregister (unsigned int index);
 
 extern int probe_hwif_init(ide_hwif_t *);
+extern int probe_hwif_init_with_fixup(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif));
+extern void ide_undecoded_slave(ide_hwif_t *hwif);
 
 static inline void *ide_get_hwifdata (ide_hwif_t * hwif)
 {


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Put the new API functions in the header files
  2004-11-05 16:32 PATCH: Put the new API functions in the header files Alan Cox
@ 2004-11-05 22:02 ` Bartlomiej Zolnierkiewicz
  2004-11-05 23:36   ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-11-05 22:02 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide


* there is no ordering of your patches
* they are splitted on file boundary not change boundary
  (ie. appling one patch leaves you with kernel which won't compile)
* they are whitespace damaged as usual

:/

On Friday 05 November 2004 17:32, Alan Cox wrote:
> diff --exclude-from /usr/src/exclude -u --new-file --recursive linux.vanilla-2.6.10rc1/include/linux/ide.h linux-2.6.10rc1/include/linux/ide.h
> --- linux.vanilla-2.6.10rc1/include/linux/ide.h	2004-11-05 15:42:18.000000000 +0000
> +++ linux-2.6.10rc1/include/linux/ide.h	2004-11-05 16:26:18.000000000 +0000
> @@ -266,6 +266,7 @@
>   * Register new hardware with ide
>   */
>  int ide_register_hw(hw_regs_t *hw, struct hwif_s **hwifp);
> +int ide_register_hw_with_fixup(hw_regs_t *hw, struct hwif_s **hwifp, void (*fixup)(struct hwif_s *));
>  
>  /*
>   * Set up hw_regs_t structure before calling ide_register_hw (optional)
> @@ -1470,6 +1475,7 @@
>  	void			(*init_iops)(ide_hwif_t *);
>  	void                    (*init_hwif)(ide_hwif_t *);
>  	void			(*init_dma)(ide_hwif_t *, unsigned long);
> +	void			(*fixup)(ide_hwif_t *);
>  	u8			channels;
>  	u8			autodma;
>  	ide_pci_enablebit_t	enablebits[2];
> @@ -1529,6 +1535,8 @@
>  extern void ide_unregister (unsigned int index);
>  
>  extern int probe_hwif_init(ide_hwif_t *);
> +extern int probe_hwif_init_with_fixup(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif));
> +extern void ide_undecoded_slave(ide_hwif_t *hwif);
>  
>  static inline void *ide_get_hwifdata (ide_hwif_t * hwif)
>  {
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Put the new API functions in the header files
  2004-11-05 22:02 ` Bartlomiej Zolnierkiewicz
@ 2004-11-05 23:36   ` Alan Cox
  2004-11-06  0:51     ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2004-11-05 23:36 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide

On Gwe, 2004-11-05 at 22:02, Bartlomiej Zolnierkiewicz wrote:
> * there is no ordering of your patches
> * they are splitted on file boundary not change boundary
>   (ie. appling one patch leaves you with kernel which won't compile)

Well I could send you bigger pieces if you want but you objected to that
last time.

> * they are whitespace damaged as usual

Well if you want to be a bigot about the old trailing space caused by
editor auto indenting feel free 8)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Put the new API functions in the header files
  2004-11-05 23:36   ` Alan Cox
@ 2004-11-06  0:51     ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-11-06  0:51 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide

On Saturday 06 November 2004 00:36, Alan Cox wrote:
> On Gwe, 2004-11-05 at 22:02, Bartlomiej Zolnierkiewicz wrote:
> > * there is no ordering of your patches
> > * they are splitted on file boundary not change boundary
> >   (ie. appling one patch leaves you with kernel which won't compile)
> 
> Well I could send you bigger pieces if you want but you objected to that
> last time.

all or nothing...

> > * they are whitespace damaged as usual
> 
> Well if you want to be a bigot about the old trailing space caused by
> editor auto indenting feel free 8)

sigh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-06  0:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05 16:32 PATCH: Put the new API functions in the header files Alan Cox
2004-11-05 22:02 ` Bartlomiej Zolnierkiewicz
2004-11-05 23:36   ` Alan Cox
2004-11-06  0:51     ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox