/[gxemul]/trunk/src/devices/dev_ps2_spd.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_ps2_spd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_ps2_spd.c,v 1.12 2005/10/26 14:37:04 debug Exp $   *  $Id: dev_ps2_spd.c,v 1.13 2005/11/13 00:14:09 debug Exp $
29   *     *  
30   *  Playstation 2 "SPD" harddisk controller.   *  Playstation 2 "SPD" harddisk controller.
31   *   *
# Line 114  void dev_ps2_spd_init(struct machine *ma Line 114  void dev_ps2_spd_init(struct machine *ma
114          d->wdcaddr = baseaddr + DEV_PS2_SPD_LENGTH;          d->wdcaddr = baseaddr + DEV_PS2_SPD_LENGTH;
115    
116          memory_device_register(mem, "ps2_spd", baseaddr, DEV_PS2_SPD_LENGTH,          memory_device_register(mem, "ps2_spd", baseaddr, DEV_PS2_SPD_LENGTH,
117              dev_ps2_spd_access, d, MEM_DEFAULT, NULL);              dev_ps2_spd_access, d, DM_DEFAULT, NULL);
118    
119          /*  Register a generic wdc device at a bogus address:  */          /*  Register a generic wdc device at a bogus address:  */
120          /*  (irq 8 + 32 + 0 means SBUS/PCMCIA)  */          /*  (irq 8 + 32 + 0 means SBUS/PCMCIA)  */

Legend:
Removed from v.18  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26