CVSROOT: /sources/hurd
Module name: hurd
Branch: zhengda-soc2008-virt-branch
Changes by: Zheng Da <zhengda> 08/08/22 17:05:42
Modified files:
eth-multiplexer: ChangeLog Makefile README multiplexer.c vdev.c
vdev.h
Removed files:
eth-multiplexer: list.h
Log message:
2008-8-22 Zheng Da <[EMAIL PROTECTED]>
* README: Update.
* Makefile: Remove list.h.
* multiplexer.c (do_mach_notify_no_senders): Get vether_device
object
with ports_lookup_port().
(ds_xxx_device_set_status): Likewise.
(ds_xxx_device_get_status): Likewise.
(ds_xxx_device_set_filter): Likewise.
(ds_device_write): Likewise.
(ds_device_write_inband): Likewise.
(ds_device_read): Likewise.
(ds_device_read_inband): Likewise.
(ds_device_map): Likewise.
(ds_device_set_status): Likewise.
(ds_device_get_status): Likewise.
(ds_device_set_filter): Likewise.
(do_mach_notify_dead_name): Deallocate the port.
(ds_device_open): Get the name directly from the vether_device
object.
(ds_device_close): Return 0 immediately.
* vdev.c (dev_head): Point to the head of the device list.
(print_eth_addr): Removed.
(lookup_dev_by_devport): Likewise.
(lookup_dev_by_name): Use the for loop to replace
list_for_each_entry.
(remove_dead_port_from_dev): Likewise.
(all_dev_close): Likewise.
(broadcast_pack): Likewise.
(broadcast_msg): Likewise.
(add_vdev): Create the vether_device object with
ports_create_port.
(has_vdev): Test if the device list is empty.
* vdev.h: Don't include list.h.
(vether_device): Include the port_info object instead of its
pointer.
(next): Replace dev_list.
* list.h: Removed.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/ChangeLog?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.7&r2=1.1.2.8
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/Makefile?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/README?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/multiplexer.c?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.9&r2=1.1.2.10
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/vdev.c?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.4&r2=1.1.2.5
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/vdev.h?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/hurd/eth-multiplexer/list.h?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.1&r2=0