~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/hw/rtl8139.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-11-15 02:21:55 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115022155-pxoxb8kfcrkn72mi
Tags: 1:52+dfsg-0ubuntu1
* New upstream release.
* 08_default_tdf.patch
  - Make -tdf the default and add a -no-tdf option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3410
3410
    PCIRTL8139State *d;
3411
3411
    RTL8139State *s;
3412
3412
    uint8_t *pci_conf;
 
3413
    static int rtl8139_id;
3413
3414
 
3414
3415
    d = (PCIRTL8139State *)pci_register_device(bus,
3415
3416
                                              "RTL8139", sizeof(PCIRTL8139State),
3460
3461
    s->cplus_txbuffer_offset = 0;
3461
3462
 
3462
3463
    /* XXX: instance number ? */
3463
 
    register_savevm("rtl8139", 0, 3, rtl8139_save, rtl8139_load, s);
 
3464
    register_savevm("rtl8139", rtl8139_id++, 3, rtl8139_save, rtl8139_load, s);
3464
3465
 
3465
3466
#if RTL8139_ONBOARD_TIMER
3466
3467
    s->timer = qemu_new_timer(vm_clock, rtl8139_timer, s);