[haiku-bugs] [Haiku] #5754: [pc_serial] [PATCH] Fix build for Haiku

  • From: "andreasf" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Apr 2010 22:26:03 -0000

#5754: [pc_serial] [PATCH] Fix build for Haiku
-------------------------+--------------------------------------------------
 Reporter:  andreasf     |       Owner:  bonefish      
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  R1            
Component:  Drivers/TTY  |     Version:  R1/Development
 Keywords:               |   Blockedby:                
 Platform:  x86          |    Blocking:                
-------------------------+--------------------------------------------------
 Here's an initial stab at making the {{{pc_serial}}} driver compile for
 Haiku target:

  * Clean up the BONE/R5/Haiku {{{tty_module_info}}} mess a little.
  * The functions either need to be {{{static}}} in both header and source,
 or not at all.
  * Haiku does not seem to have a {{{ddbackground}}} function.

 With these changes, I can successfully do the following in my
 {{{UserBuildConfig}}}:

 {{{
 AddDriversToHaikuImage ports : pc_serial ;
 }}}
 It does not yet work for my card though.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5754>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: