28 Apr, 2007

24 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (78 commits)
    USB: update MAINAINERS and CREDITS for Freescale USB driver
    USB: update gadget files for fsl_usb2_udc driver
    USB: add Freescale high-speed USB SOC device controller driver
    USB: quirk for broken suspend of IT8152F/G
    USB: iowarrior.c: timeouts too small in usb_control_msg calls
    USB: dell device id for option.c
    USB: Remove Huawei unusual_devs entry
    USB: CP2101 New Device IDs
    USB: add picdem device to ldusb
    usbfs micro optimitation
    USB: remove ancient/broken CRIS hcd
    usb ethernet gadget, workaround network stack API glitch
    USB: add "busnum" attribute for USB devices
    USB: cxacru: ADSL state management
    usbatm: Detect usb device shutdown and ignore failed urbs
    USB: Remove duplicate define of OHCI_QUIRK_ZFMICRO
    USB: BandRich BandLuxe HSDPA Data Card Driver
    USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug
    USB Elan FTDI: check for driver registration status
    USB: sierra: add more checks on shutdown
    ...

    Linus Torvalds
     
  • * 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (184 commits)
    V4L/DVB (5563): Radio-maestro.c Replace radio_ioctl to use video_ioctl2
    V4L/DVB (5562): Radio-gemtek-pci.c Replace gemtek_pci_ioctl to use video_ioctl2
    V4L/DVB (5560): Ivtv: fix incorrect bitwise-and for command flags.
    V4L/DVB (5558): Opera: use 7-bit i2c addresses
    V4L/DVB (5557): Cafe_ccic: check return value of pci_enable_device
    V4L/DVB (5556): Radio-gemtek.c Replace gemtek_ioctl to use video_ioctl2
    V4L/DVB (5555): Radio-aimslab.c Replace rt_ioctl to use video_ioctl2
    V4L/DVB (5554): Fix: vidioc_g_parm were not zeroing the memory
    V4L/DVB (5553): Replace typhoon_do_ioctl to use video_ioctl2
    V4L/DVB (5552): Plan-b: Switch to refcounting PCI API
    V4L/DVB (5551): Plan-b: header change
    V4L/DVB (5550): Radio-sf16fmi.c Replace fmi_do_ioctl to use video_ioctl2
    V4L/DVB (5549): Radio-sf16fmr2.c Replace fmr2_do_ioctl to use video_ioctl2
    V4L/DVB (5548): Fix v4l2 buffer to the length
    V4L/DVB (5547): Add ENUM_FRAMESIZES and ENUM_FRAMEINTERVALS ioctls
    V4L/DVB (5546): Radio-terratec.c Replace tt_do_ioctl to use video_ioctl2
    V4L/DVB (5545): Saa7146: Release capture buffers on device close
    V4L/DVB (5544): Budget-av: Make inversion setting configurable, add KNC ONE V1.0 card
    V4L/DVB (5543): Tda10023: Add support for frontend TDA10023
    V4L/DVB (5542): Budget-av: Remove polarity switching of the clock for DVB-C
    ...

    Linus Torvalds
     
  • This patch (as874) adds another piece to the user-visible part of the
    USB autosuspend interface. The new power/level sysfs attribute allows
    users to force the device on (with autosuspend off), force the device
    to sleep (with autoresume off), or return to normal automatic operation.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as867) adds an entry for the new power/autosuspend
    attribute in Documentation/ABI/testing, and it changes the behavior of
    the delay value. Now a delay of 0 means to autosuspend as soon as
    possible, and negative values will prevent autosuspend.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch adds a new text API, codenamed '1u', which captures more URB
    fields than old '1t' interface did. Also the '1u' text API is compatible
    with the future "bus zero" extension.

    Signed-off-by: Pete Zaitcev
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     
  • usbvision has a module parameter that ables the user to add a new USB
    entry at driver load. This functionality is useless by experience
    (adding statically the entry is easy).

    Furthermore, the USB_DEVICE(0xfff0, 0xfff0) USB entry caused
    usbvision_probe to be called for all unclaimed devices.

    Signed-off-by: Thierry MERLE
    Acked-by: Dwaine Garden
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     
  • Changed usbvision cards table to allow:
    1) Not repeat USB ID on two structs;
    2) Not need to specify both usb and card description tables at
    the same order, removing some magic;
    Some cards had duplicated names. Fixed.
    A test for an specific board were doing by using a string comparation.
    The comparation were wrong. Also, it is not a good practice to recognize
    a board based on his string name.
    Acked-by: Thierry MERLE

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • SSAI (www.ssai.us) makes several Bt878-based capture cards that get used in our
    surveillance, conferencing, and medical imaging systems. The attached
    relatively small patch adds support for these cards, which fall into two broad
    * boards with one or more Bt878s, one or more composite inputs, and no S-video
    or tuner inputs
    * boards with one Bt878, one composite input, one S-video input, and no tuner
    input

    Signed-off-by: Scott Alfter
    Signed-off-by: Mauro Carvalho Chehab

    Scott Alfter
     
  • @ Don't assume that SOF headers can't cross packets boundaries
    @ Fix compression quality selection
    + Add support for MI-0360 image sensor
    * Documentation updates
    @ Fix sysfs
    @ MI0343 rewritten
    * HV7131R color fixes and add new ABLC control
    * Rename the archive from "sn9c102" to "sn9c1xx"
    * fix typos
    * better support for TAS5110D
    @ fix OV7630 wrong colors
    @ Don't return an error if no input buffers are enqueued yet on VIDIOC_STREAMON
    * Add informations about colorspaces
    * More appropriate error codes in case of failure of some system calls
    * More precise hardware detection
    * Add more informations about supported hardware in the documentation
    + More supported devices
    + Add support for HV7131R image sensor

    Signed-off-by: Luca Risolia
    Signed-off-by: Mauro Carvalho Chehab

    Luca Risolia
     
  • The new name fits to what it is and what is on the box.

    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Hartmut Hackmann
     
  • There are 2 new entries for p7131 boards and one correction for a board
    with LNA.

    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Hartmut Hackmann
     
  • Adds more osd mode switching information.
    Corrects some information regarding mode selection & local alpha operation for
    16 bit modes.

    Signed-off-by: Ian Armstrong
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ian Armstrong
     
  • The ADS Tech InstantTV DVB-S is a clone of the KWorld DVB-S 100.
    This patch adds autodetection support for this card based on
    pci subsystem id.

    Signed-off-by: Michael Krufky
    Signed-off-by: Mauro Carvalho Chehab

    Michael Krufky
     
  • Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Those two experimental APIs never worked fine nor, afaik, were
    implemented at the apps. Their functionalities were implemented by other
    means.
    So, let's remove those obsolete stuff.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • The documentation of Several miscellaneous commands was updated.
    As a result of which the CX2341X_ENC_UNKNOWN command was renamed to
    CX2341X_ENC_SET_VERT_CROP_LINE.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • It is a Lifeview Duo with a different ID

    Signed-off-by: Peter Missel
    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Peter Missel
     
  • Signed-off-by: Markus Rechberger
    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Markus Rechberger
     
  • This patch contains
    - new tuning code for the tda827xa silicon tuner.
    - controls the preamplifier of some boards with this tuner.
    - support for the Philips Tiger S hybrid DVB-T reference design.
    - reworked the saa7134-dvb modulue to get rid of most of the
    small board specific functions.

    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Hartmut Hackmann
     
  • This patch adds a V4L2 driver giving support for USB webcams based on the
    zr364xx chipsets.

    Signed-off-by: Antoine Jacquet
    Signed-off-by: Mauro Carvalho Chehab

    Antoine Jacquet
     
  • This patch contains the overdue removal of the mount/umount uevents.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Adrian Bunk
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (49 commits)
    IB: Set class_dev->dev in core for nice device symlink
    IB/ehca: Implement modify_port
    IB/umad: Clarify documentation of transaction ID
    IPoIB/cm: spin_lock_irqsave() -> spin_lock_irq() replacements
    IB/mad: Change SMI to use enums rather than magic return codes
    IB/umad: Implement GRH handling for sent/received MADs
    IB/ipoib: Use ib_init_ah_from_path to initialize ah_attr
    IB/sa: Set src_path_bits correctly in ib_init_ah_from_path()
    IB/ucm: Simplify ib_ucm_event()
    RDMA/ucma: Simplify ucma_get_event()
    IB/mthca: Simplify CQ cleaning in mthca_free_qp()
    IB/mthca: Fix mthca_write_mtt() on HCAs with hidden memory
    IB/mthca: Update HCA firmware revisions
    IB/ipath: Fix WC format drift between user and kernel space
    IB/ipath: Check that a UD work request's address handle is valid
    IB/ipath: Remove duplicate stuff from ipath_verbs.h
    IB/ipath: Check reserved memory keys
    IB/ipath: Fix unit selection when all CPU affinity bits set
    IB/ipath: Don't allow QPs 0 and 1 to be opened multiple times
    IB/ipath: Disable IB link earlier in shutdown sequence
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (448 commits)
    [IPV4] nl_fib_lookup: Initialise res.r before fib_res_put(&res)
    [IPV6]: Fix thinko in ipv6_rthdr_rcv() changes.
    [IPV4]: Add multipath cached to feature-removal-schedule.txt
    [WIRELESS] cfg80211: Clarify locking comment.
    [WIRELESS] cfg80211: Fix locking in wiphy_new.
    [WEXT] net_device: Don't include wext bits if not required.
    [WEXT]: Misc code cleanups.
    [WEXT]: Reduce inline abuse.
    [WEXT]: Move EXPORT_SYMBOL statements where they belong.
    [WEXT]: Cleanup early ioctl call path.
    [WEXT]: Remove options.
    [WEXT]: Remove dead debug code.
    [WEXT]: Clean up how wext is called.
    [WEXT]: Move to net/wireless
    [AFS]: Eliminate cmpxchg() usage in vlocation code.
    [RXRPC]: Fix pointers passed to bitops.
    [RXRPC]: Remove bogus atomic_* overrides.
    [AFS]: Fix u64 printing in debug logging.
    [AFS]: Add "directory write" support.
    [AFS]: Implement the CB.InitCallBackState3 operation.
    ...

    Linus Torvalds
     

27 Apr, 2007

7 commits

  • Cleanup code and remove obsolete documentation.

    Signed-off-by: Jan Glauber
    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Jan Glauber
     
  • s390 machines provide hardware support for creating Linux dumps on SCSI
    disks. For creating a dump a special purpose dump Linux is used. The first
    32 MB of memory are saved by the hardware before the dump Linux is
    booted. Via an SCLP interface, the saved memory can be accessed from
    Linux. This patch exports memory and registers of the crashed Linux to
    userspace via a debugfs file. For more information refer to
    Documentation/s390/zfcpdump.txt, which is included in this patch.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Michael Holzheu
     
  • Signed-off-by: David S. Miller

    David S. Miller
     
  • Update the AFS fs documentation.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Add an interface to the AF_RXRPC module so that the AFS filesystem module can
    more easily make use of the services available. AFS still opens a socket but
    then uses the action functions in lieu of sendmsg() and registers an intercept
    functions to grab messages before they're queued on the socket Rx queue.

    This permits AFS (or whatever) to:

    (1) Avoid the overhead of using the recvmsg() call.

    (2) Use different keys directly on individual client calls on one socket
    rather than having to open a whole slew of sockets, one for each key it
    might want to use.

    (3) Avoid calling request_key() at the point of issue of a call or opening of
    a socket. This is done instead by AFS at the point of open(), unlink() or
    other VFS operation and the key handed through.

    (4) Request the use of something other than GFP_KERNEL to allocate memory.

    Furthermore:

    (*) The socket buffer markings used by RxRPC are made available for AFS so
    that it can interpret the cooked RxRPC messages itself.

    (*) rxgen (un)marshalling abort codes are made available.

    The following documentation for the kernel interface is added to
    Documentation/networking/rxrpc.txt:

    =========================
    AF_RXRPC KERNEL INTERFACE
    =========================

    The AF_RXRPC module also provides an interface for use by in-kernel utilities
    such as the AFS filesystem. This permits such a utility to:

    (1) Use different keys directly on individual client calls on one socket
    rather than having to open a whole slew of sockets, one for each key it
    might want to use.

    (2) Avoid having RxRPC call request_key() at the point of issue of a call or
    opening of a socket. Instead the utility is responsible for requesting a
    key at the appropriate point. AFS, for instance, would do this during VFS
    operations such as open() or unlink(). The key is then handed through
    when the call is initiated.

    (3) Request the use of something other than GFP_KERNEL to allocate memory.

    (4) Avoid the overhead of using the recvmsg() call. RxRPC messages can be
    intercepted before they get put into the socket Rx queue and the socket
    buffers manipulated directly.

    To use the RxRPC facility, a kernel utility must still open an AF_RXRPC socket,
    bind an addess as appropriate and listen if it's to be a server socket, but
    then it passes this to the kernel interface functions.

    The kernel interface functions are as follows:

    (*) Begin a new client call.

    struct rxrpc_call *
    rxrpc_kernel_begin_call(struct socket *sock,
    struct sockaddr_rxrpc *srx,
    struct key *key,
    unsigned long user_call_ID,
    gfp_t gfp);

    This allocates the infrastructure to make a new RxRPC call and assigns
    call and connection numbers. The call will be made on the UDP port that
    the socket is bound to. The call will go to the destination address of a
    connected client socket unless an alternative is supplied (srx is
    non-NULL).

    If a key is supplied then this will be used to secure the call instead of
    the key bound to the socket with the RXRPC_SECURITY_KEY sockopt. Calls
    secured in this way will still share connections if at all possible.

    The user_call_ID is equivalent to that supplied to sendmsg() in the
    control data buffer. It is entirely feasible to use this to point to a
    kernel data structure.

    If this function is successful, an opaque reference to the RxRPC call is
    returned. The caller now holds a reference on this and it must be
    properly ended.

    (*) End a client call.

    void rxrpc_kernel_end_call(struct rxrpc_call *call);

    This is used to end a previously begun call. The user_call_ID is expunged
    from AF_RXRPC's knowledge and will not be seen again in association with
    the specified call.

    (*) Send data through a call.

    int rxrpc_kernel_send_data(struct rxrpc_call *call, struct msghdr *msg,
    size_t len);

    This is used to supply either the request part of a client call or the
    reply part of a server call. msg.msg_iovlen and msg.msg_iov specify the
    data buffers to be used. msg_iov may not be NULL and must point
    exclusively to in-kernel virtual addresses. msg.msg_flags may be given
    MSG_MORE if there will be subsequent data sends for this call.

    The msg must not specify a destination address, control data or any flags
    other than MSG_MORE. len is the total amount of data to transmit.

    (*) Abort a call.

    void rxrpc_kernel_abort_call(struct rxrpc_call *call, u32 abort_code);

    This is used to abort a call if it's still in an abortable state. The
    abort code specified will be placed in the ABORT message sent.

    (*) Intercept received RxRPC messages.

    typedef void (*rxrpc_interceptor_t)(struct sock *sk,
    unsigned long user_call_ID,
    struct sk_buff *skb);

    void
    rxrpc_kernel_intercept_rx_messages(struct socket *sock,
    rxrpc_interceptor_t interceptor);

    This installs an interceptor function on the specified AF_RXRPC socket.
    All messages that would otherwise wind up in the socket's Rx queue are
    then diverted to this function. Note that care must be taken to process
    the messages in the right order to maintain DATA message sequentiality.

    The interceptor function itself is provided with the address of the socket
    and handling the incoming message, the ID assigned by the kernel utility
    to the call and the socket buffer containing the message.

    The skb->mark field indicates the type of message:

    MARK MEANING
    =============================== =======================================
    RXRPC_SKB_MARK_DATA Data message
    RXRPC_SKB_MARK_FINAL_ACK Final ACK received for an incoming call
    RXRPC_SKB_MARK_BUSY Client call rejected as server busy
    RXRPC_SKB_MARK_REMOTE_ABORT Call aborted by peer
    RXRPC_SKB_MARK_NET_ERROR Network error detected
    RXRPC_SKB_MARK_LOCAL_ERROR Local error encountered
    RXRPC_SKB_MARK_NEW_CALL New incoming call awaiting acceptance

    The remote abort message can be probed with rxrpc_kernel_get_abort_code().
    The two error messages can be probed with rxrpc_kernel_get_error_number().
    A new call can be accepted with rxrpc_kernel_accept_call().

    Data messages can have their contents extracted with the usual bunch of
    socket buffer manipulation functions. A data message can be determined to
    be the last one in a sequence with rxrpc_kernel_is_data_last(). When a
    data message has been used up, rxrpc_kernel_data_delivered() should be
    called on it..

    Non-data messages should be handled to rxrpc_kernel_free_skb() to dispose
    of. It is possible to get extra refs on all types of message for later
    freeing, but this may pin the state of a call until the message is finally
    freed.

    (*) Accept an incoming call.

    struct rxrpc_call *
    rxrpc_kernel_accept_call(struct socket *sock,
    unsigned long user_call_ID);

    This is used to accept an incoming call and to assign it a call ID. This
    function is similar to rxrpc_kernel_begin_call() and calls accepted must
    be ended in the same way.

    If this function is successful, an opaque reference to the RxRPC call is
    returned. The caller now holds a reference on this and it must be
    properly ended.

    (*) Reject an incoming call.

    int rxrpc_kernel_reject_call(struct socket *sock);

    This is used to reject the first incoming call on the socket's queue with
    a BUSY message. -ENODATA is returned if there were no incoming calls.
    Other errors may be returned if the call had been aborted (-ECONNABORTED)
    or had timed out (-ETIME).

    (*) Record the delivery of a data message and free it.

    void rxrpc_kernel_data_delivered(struct sk_buff *skb);

    This is used to record a data message as having been delivered and to
    update the ACK state for the call. The socket buffer will be freed.

    (*) Free a message.

    void rxrpc_kernel_free_skb(struct sk_buff *skb);

    This is used to free a non-DATA socket buffer intercepted from an AF_RXRPC
    socket.

    (*) Determine if a data message is the last one on a call.

    bool rxrpc_kernel_is_data_last(struct sk_buff *skb);

    This is used to determine if a socket buffer holds the last data message
    to be received for a call (true will be returned if it does, false
    if not).

    The data message will be part of the reply on a client call and the
    request on an incoming call. In the latter case there will be more
    messages, but in the former case there will not.

    (*) Get the abort code from an abort message.

    u32 rxrpc_kernel_get_abort_code(struct sk_buff *skb);

    This is used to extract the abort code from a remote abort message.

    (*) Get the error number from a local or network error message.

    int rxrpc_kernel_get_error_number(struct sk_buff *skb);

    This is used to extract the error number from a message indicating either
    a local error occurred or a network error occurred.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Provide AF_RXRPC sockets that can be used to talk to AFS servers, or serve
    answers to AFS clients. KerberosIV security is fully supported. The patches
    and some example test programs can be found in:

    http://people.redhat.com/~dhowells/rxrpc/

    This will eventually replace the old implementation of kernel-only RxRPC
    currently resident in net/rxrpc/.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Export the keyring key type definition and document its availability.

    Add alternative types into the key's type_data union to make it more useful.
    Not all users necessarily want to use it as a list_head (AF_RXRPC doesn't, for
    example), so make it clear that it can be used in other ways.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     

26 Apr, 2007

9 commits