DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/bus/usb usb_ethersubr.c usb_ethersubr.h src/sys/dev/netif/aue if_aue.c src/sys/dev/netif/axe if_axe.c src/sys/dev/netif/cue if_cue.c src/sys/dev/netif/kue if_kue.c

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Feb 2005 14:50:28 -0800 (PST)

joerg       2005/02/16 14:50:28 PST

DragonFly src repository

  Modified files:
    sys/bus/usb          usb_ethersubr.c usb_ethersubr.h 
    sys/dev/netif/aue    if_aue.c 
    sys/dev/netif/axe    if_axe.c 
    sys/dev/netif/cue    if_cue.c 
    sys/dev/netif/kue    if_kue.c 
  The old USB ethernet code utilized a netisr to hand packets over
  the ether_input and cleanup after txeof. This was broken some
  time ago and is a workaround for the different IPL of USB and
  the network stack.
  Reduce the amount of hacks by removing usb_tx_done, it can be
  done mostly in-place with a slight race-condition in the enqueue
  code. usb_ether_input now directly calls ether_input, the caller
  is responsible for rearming the receiver. That's doesn't open
  a race since the receiver doesn't have to handle the interface
  queues, for the driver state is the driver responsible.
  The IPL protection of the USB ethernet drivers has to be reviewed,
  it's mostly not existing.
  Revision  Changes    Path
  1.12      +9 -42     src/sys/bus/usb/usb_ethersubr.c
  1.5       +0 -1      src/sys/bus/usb/usb_ethersubr.h
  1.17      +6 -8      src/sys/dev/netif/aue/if_aue.c
  1.9       +6 -8      src/sys/dev/netif/axe/if_axe.c
  1.17      +7 -8      src/sys/dev/netif/cue/if_cue.c
  1.14      +13 -12    src/sys/dev/netif/kue/if_kue.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]