Opened 18 years ago

Closed 13 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:
Platform: All

Description

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

Building Linux Device Drivers on FreeBSD: http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html

Attachments (1)

libuks_and_jfs.diff.zip (237.9 KB ) - added by kaoutsis 17 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by wkornewald, 18 years ago

Milestone: R1Unscheduled

comment:2 by kaoutsis, 18 years ago

Cc: kaoutsis added

by kaoutsis, 17 years ago

Attachment: libuks_and_jfs.diff.zip added

comment:3 by kaoutsis, 17 years ago

Some comments and questions about libuks_and_jfs.diff.zip

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, 17 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, 17 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, 15 years ago

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

comment:7 by kallisti5, 13 years ago

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