LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
    Date: Fri Apr 22 16:44:19 CEST 2005
    Subject: [openrisc] [or1ksim #77] vga `enabled' bug fix
    Top
    Hi,

    This fix a very stupid typo by me, with which it was impossible to disable the
    vga peripheral with the `enabled' keyword.

    ChangeLog:
    * Fix typo such that the vga peripheral may be disabled.

    nog.
    -------------- next part --------------
    diff -uPr --unidirectional-new-file ./peripheral/vga.c /home/nog/or1ksim-ac/peripheral/vga.c
    --- ./peripheral/vga.c 2005-03-31 16:35:51.000000000 +0200
    +++ /home/nog/or1ksim-ac/peripheral/vga.c 2005-04-10 08:30:00.000000000 +0200
    @@ -264,7 +264,7 @@
    void vga_enabled(union param_val val, void *dat)
    {
    struct vga_state *vga = dat;
    - vga->enabled = 1;
    + vga->enabled = val.int_val;
    }

    void *vga_sec_start(void)

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.