Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-24 Thread Pavel Herrmann
On Saturday 22 September 2012 15:59:46 Pavel Herrmann wrote: On Saturday 22 of September 2012 15:33:10 Marek Vasut wrote: Dear Pavel Herrmann, On Saturday 22 of September 2012 02:09:15 Marek Vasut wrote: Dear Pavel Herrmann, [...] one or none - requests on USB

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-22 Thread Pavel Herrmann
On Saturday 22 of September 2012 02:09:15 Marek Vasut wrote: Dear Pavel Herrmann, [...] one or none - requests on USB flashes should not pass through block_controller_driver. Uh, what do they pass into then ? their parent (an USB hub) block_device instance (aka.

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-22 Thread Marek Vasut
Dear Pavel Herrmann, On Saturday 22 of September 2012 02:09:15 Marek Vasut wrote: Dear Pavel Herrmann, [...] one or none - requests on USB flashes should not pass through block_controller_driver. Uh, what do they pass into then ? their parent (an USB hub)

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-22 Thread Pavel Herrmann
On Saturday 22 of September 2012 15:33:10 Marek Vasut wrote: Dear Pavel Herrmann, On Saturday 22 of September 2012 02:09:15 Marek Vasut wrote: Dear Pavel Herrmann, [...] one or none - requests on USB flashes should not pass through block_controller_driver.

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote: Dear Pavel Herrmann, This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of current method with device + partition offset Signed-off-by: Pavel Herrmann

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote: Dear Pavel Herrmann, This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of current method with device + partition offset

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 14:39:14 Marek Vasut wrote: Dear Pavel Herrmann, On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote: Dear Pavel Herrmann, This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, On Friday 21 of September 2012 14:39:14 Marek Vasut wrote: Dear Pavel Herrmann, On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote: Dear Pavel Herrmann, This core will register all block devices (disk, cards, partitons) and provide unfied

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 15:53:26 Marek Vasut wrote: Dear Pavel Herrmann, On Friday 21 of September 2012 14:39:14 Marek Vasut wrote: Dear Pavel Herrmann, On Thursday 20 of September 2012 21:58:17 Marek Vasut wrote: Dear Pavel Herrmann, This core will register

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] blockctrl = AHCI, PIIX... whichever chip you have between SATA and PCI (or generally disk-bus and board-bus) So this is for sata ? Or will it also by used for SD/USB flash discs? no, blockctrl will be used for SATA, PATA, SCSI, and anything of the sort

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 17:34:27 Marek Vasut wrote: Dear Pavel Herrmann, [...] blockctrl = AHCI, PIIX... whichever chip you have between SATA and PCI (or generally disk-bus and board-bus) So this is for sata ? Or will it also by used for SD/USB flash discs? no,

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, On Friday 21 of September 2012 17:34:27 Marek Vasut wrote: Dear Pavel Herrmann, [...] blockctrl = AHCI, PIIX... whichever chip you have between SATA and PCI (or generally disk-bus and board-bus) So this is for sata ? Or will it also by used for

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 17:55:10 Marek Vasut wrote: Dear Pavel Herrmann, On Friday 21 of September 2012 17:34:27 Marek Vasut wrote: Dear Pavel Herrmann, [...] blockctrl = AHCI, PIIX... whichever chip you have between SATA and PCI (or generally disk-bus and

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] you should have a blockdev driver for USB flash and SD, but not blockctrl I'm lost again. Do I also need a blockdev driver for SATA controller now that I need a blockdev driver for SD card controller ? you need a blockdev for a blockctrl (see [5/11]),

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 20:00:10 Marek Vasut wrote: Dear Pavel Herrmann, [...] you should have a blockdev driver for USB flash and SD, but not blockctrl I'm lost again. Do I also need a blockdev driver for SATA controller now that I need a blockdev driver for SD card

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, On Friday 21 of September 2012 20:00:10 Marek Vasut wrote: Dear Pavel Herrmann, [...] you should have a blockdev driver for USB flash and SD, but not blockctrl I'm lost again. Do I also need a blockdev driver for SATA controller now that I

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 21:17:43 Marek Vasut wrote: Dear Pavel Herrmann, On Friday 21 of September 2012 20:00:10 Marek Vasut wrote: Dear Pavel Herrmann, [...] you should have a blockdev driver for USB flash and SD, but not blockctrl I'm lost again.

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] I mean the particular block_controller_driver instance routes the read/write block request from downstream block_device through SATA/SD/SCSI/whatever library or layer back into itself. But the later itself is the implementation of the library or layer API.

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 23:11:57 Marek Vasut wrote: Dear Pavel Herrmann, [...] I mean the particular block_controller_driver instance routes the read/write block request from downstream block_device through SATA/SD/SCSI/whatever library or layer back into itself. But the

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] one or none - requests on USB flashes should not pass through block_controller_driver. Uh, what do they pass into then ? their parent (an USB hub) block_device instance (aka. partition/disk) directly connected to USB hub instance does not seem right.

[U-Boot] [PATCH 01/11] DM: add block device core

2012-09-20 Thread Pavel Herrmann
This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of current method with device + partition offset Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Makefile | 1 + drivers/blockdev/Makefile | 42

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-20 Thread Marek Vasut
Dear Pavel Herrmann, This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of current method with device + partition offset Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Makefile | 1 +