[haiku-bugs] Re: [Haiku] #6753: KDL after bootup

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Wed, 27 Oct 2010 19:12:44 -0000

#6753: KDL after bootup
----------------------------+------------------------------
  Reporter:  humdinger      |        Owner:  axeld
      Type:  bug            |       Status:  closed
  Priority:  normal         |    Milestone:  R1
 Component:  System/Kernel  |      Version:  R1/Development
Resolution:  invalid        |     Keywords:
Blocked By:                 |  Has a Patch:  0
  Platform:  All            |     Blocking:
----------------------------+------------------------------
Changes (by humdinger):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Well, damn! Turns out Colin's BG023 hack of my iprowifi3945 was a time
 bomb...[[BR]]
 It was compiled a couple of times and either put on an USB stick to
 replace the driver of the Haiku installation (or directly updated via jam
 @HD update iprowifi3945). Worked in the end. Strangely, now, when building
 a complete anyboot image, the bootup hangs![[BR]]
 Closing this ticket, sorry about that... Here's the little diff, if
 anyone's interested:
 {{{
 src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi$ svn diff

 Index: if_wpi.c
 ===================================================================
 --- if_wpi.c    (Revision 39165)
 +++ if_wpi.c    (Arbeitskopie)
 @@ -547,9 +547,9 @@
         sc->sc_sh = rman_get_bushandle(sc->mem);

         sc->irq_rid = 0;
 -       if ((result = pci_msi_count(dev)) == 1 &&
 -           pci_alloc_msi(dev, &result) == 0)
 -               sc->irq_rid = 1;
 +//     if ((result = pci_msi_count(dev)) == 1 &&
 +//         pci_alloc_msi(dev, &result) == 0)
 +//             sc->irq_rid = 1;
         sc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->irq_rid,
             RF_ACTIVE | RF_SHAREABLE);
         if (sc->irq == NULL) {
 @@ -558,6 +558,8 @@
                 goto fail;
         }

 +       sc->irq->r_bushandle = 19;
 +
         /*
          * Allocate DMA memory for firmware transfers.
          */
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6753#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: