Opened 13 years ago

Closed 8 years ago

#1109 closed enhancement (invalid)

Kernel module to enable Linux drivers in Haiku

Reported by: jonas.kirilla Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version:
Keywords: Cc: kaoutsis
Blocked By: Blocking:
Has a Patch: no Platform: All


Source-level wrappers to make Linux drivers build and run.

Building Linux Device Drivers on FreeBSD:

Attachments (1) (237.9 KB ) - added by kaoutsis 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by wkornewald, 13 years ago

Milestone: R1Unscheduled

comment:2 by kaoutsis, 13 years ago

Cc: kaoutsis added

by kaoutsis, 12 years ago

Attachment: added

comment:3 by kaoutsis, 12 years ago

Some comments and questions about

the questions: a) Is it possible this kind of implementation? (making a wrapper kernel library in order to keep the driver sources untouched) And if so what rules should someone follow? b) Does it really worth the effort?

the comments: a) There are a huge number of defines, macros, and inline assembly that make the whole effort a bit difficult :-D b) there are several changes from one version of the linux kernel to another, making the effort, a moving target.

comment:4 by axeld, 12 years ago

Of course it's possible, it's just not at all feasible. First of all, a better source of drivers would be FreeBSD - the license is just more appealing. Also, in my experience, the code is often cleaner and better written (although often packed with less features).

The best reason, however, is what say in your comments: Linux doesn't have a stable kernel API at all. Such an effort would just be a waste of time IMO.

in reply to:  4 comment:5 by kaoutsis, 12 years ago

Replying to axeld:

...Such an effort would just be a waste of time IMO.

Ok, thanks for looking into this; i agree. I am relieved now :-)

comment:6 by axeld, 10 years ago

Owner: changed from axeld to nobody
Version: R1/pre-alpha1

comment:7 by kallisti5, 8 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.