[openbeosnetteam] Re: "No more B_KEEP_LOADED kernel modules" patch

> David wrote:
> >> I just can't stand the "socket" feeling a /dev/net/socket entry
> >> give me. Our stack isn't made only of sockets. Asking a
> >> /dev/net/socket entry to stop sound a little weird, but whatever...
> >
> > Is there any reason we can't publish anothet entry point?
>
> Beside keeping a KISS design, no particular reason.
> :-)
>
> > I mean if we could have another driver that just did start/stop -
> > wouldn't that work?
>
> Yep, that would. But why have two drivers when we can have one?

Just thinking it makes mroe sense to have 2 that are optimised...

>
> > It'd also stop us having to clutter up our
> > socket driver with start/stop things that (as you've said) don't
> > really belong there.
>
> 8-)
> I'd never said that!
> What I've said is renaming to /dev/net/stack make more sense, as when
> we ask it to "stop" or "start" it seem plain literral.
> It's when he's called /dev/net/socket that's it sound weird.

Yeah, but when you call /dev/net/stack for a socket that's OK and not
strange at all :)

I actually don't think having 2 devices is a bad idea :)

>
> However, enought filename discussion, time to go back home (and soon to
> commit)
>
> > Off to cut my grass!
> You have a grass!?!
> Lucky guy.

Oh I have lots of grass! Well, not a lot but enough...

http://www.hodgkinclose.net/albums/david/david3cb878fb9950a.jpg

My lodger sitting on my front grass making up a hanging basket for me! Yes,
I even have plants and stuff.

david



Other related posts: