Messages in this thread | | | Subject | Re: [PATCH 0/1] staging: Add firewire-serial driver | From | Peter Hurley <> | Date | Wed, 24 Oct 2012 11:56:19 -0400 |
| |
> > > drivers/staging/fwserial/dma_fifo.c | 310 ++++ > > > drivers/staging/fwserial/dma_fifo.h | 130 ++ > > > drivers/staging/fwserial/fwserial.c | 2885 +++++++++++++++++++++++++++++++++++ > > > drivers/staging/fwserial/fwserial.h | 355 +++++ > > drivers/firewire/net.c is 1721 lines, sbp_target is 2868 lines. > Why is fwserial bigger?
1) Exclude the dma_fifo* files in the comparison, because block & net devices get dma-able memory management from their subsystems. 2) Certain tty concepts don't map well to an automated bus, so these are simulated (eg, break handling) 3) fwserial has to implement a protocol to virtually cable peers 4) sbp_target only supports 1 target.
| |