Re: bcm4400 driver and Dell 8500

From: Stuart Walsh (stu_at_ipng.org.uk)
Date: 08/28/03

  • Next message: Stuart Walsh: "Atmel USB Wireless devices"
    Date: Thu, 28 Aug 2003 09:28:08 +0100
    To: Duncan Barclay <dmlb@dmlb.org>
    
    

    (apologies for the large cc list, im only subbed to -mobile so not sure
    who is where)

    On Thu Aug 28, 08:21P +0100, Duncan Barclay wrote:
    > From: "Kenneth D. Merry" <ken@kdm.org>
    >
    > > > This is a little loop that waits for the card to finish DMAing a packet.
    > There
    > > > should be a DELAY(1) in there. But it may be commented out.
    > >
    > > That's bad...in general the chip should DMA the packet and then update the
    > > consumer index and generate an interrupt. I don't know how this
    > particular
    > > chip works, though. The DELAY is commented out.
    >
    > Unfortunately I don't know how the chips works wither. This method comes
    > from the drivers I used as a reference. I have recoded the loop a little so
    > it doesn't DELAY and I've never had a timeout from it.
    >

    That is how this chip works. It rxes a packet, prepends an rxheader to
    it, DMAs it and then updates the index and generates an interrupt. If
    it reaches the last descriptor(marked by an end of table flag) it resets it 0.
    The chip does have a 'lazy rx' mode which can be set to interrupt after a
    certain amount of frames or a certain amount of data.

    These problems may or may not mystically disappear when I finish merging
    Duncan and I's drivers, but I wouldn't hold your breath. :)

    Regards,

    Stuart
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Stuart Walsh: "Atmel USB Wireless devices"

    Relevant Pages

    • Re: bcm4400 driver and Dell 8500
      ... > consumer index and generate an interrupt. ... > chip works, though. ... The DELAY is commented out. ...
      (freebsd-hackers)
    • Re: No interrupts coming to device driver.
      ... : coming to driver. ... I believe I configured chip (carrier freq. ... divisor) and enabled interrupt mode the same way it windows driver does. ... If it is on the ISA bus, then you can look at the IRQ line that you ...
      (freebsd-hackers)
    • Re: Audio uC Development Board
      ... Apart from "It seems to be a really nice chip"? ... The only real documentation I found was the datasheet (most similar ... The device is mising the usual ARM vectored interrupt controller, ... No DMA, so the 1MHz ADC will need to use the FIQ, and some pretty ...
      (sci.electronics.design)
    • Re: [patchset] Generic IRQ Subsystem: -V5
      ... there's an interrupt "concentrator" which consists of logically ORing ... Hence, there is no "chip" for this, and while it works with the ARM ... IRQ subsystem, it doesn't even boot with the genirq stuff. ... nzCv IRQs off FIQs on Mode SVC_32 Segment kernel ...
      (Linux-Kernel)
    • Re: [RFC patch 2/3] genirq: Add buslock support for irq chips on slow busses
      ... yet) which can use interrupts via the main interrupt controller on ... out to dedicated pins on the chip for direct connection to the CPU ... If the low level functions just store the information and schedule it ... for bus access then there is no serialization anymore. ...
      (Linux-Kernel)