rketcham writes: > Yea, this SPI driver was my first adventure into linux drivers so I may need > you to lead me through some of this. I just diagnosed the problem; you should find someone with much more Linux tty driver experience to help you out. > When I first started I thought that a > char driver would be exactly what I needed. Now it seems that I should have > created a tty driver instead but I would rather try to get around that if > it's possible and not too hard. I doubt that'd be very easy. You'd have to replicate most of what tty_io already does, and that seems fairly pointless and fragile. Any change to that subsystem will likely blow your driver's duplicate logic away. > Given my limited experience in driver design would you recommend rewriting > the driver as a tty driver (I'm guessing this would involve interfacing with > tty_io.c) or is there another way? I was hoping to handle the ioctl myself. > Would I need to include if_ppp.h? If it were mine, I'd take a look at one of the existing tty hardware drivers (drivers/serial/21285.c looks simple enough) and use that as a template. -- James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html