Mostra notizie nelle discussioni
  • Avatar
    Scritto da
    Non Autenticato
    il 2009-08-07 21:07:00.0 alle 2009-08-07 21:07:00.0
    BIG FAIL!
    static void ide_init(struct device *dev)
    {
      uint32_t ide_cfg;
    
      printk_spew("cs5536_ide: %s\n", __func__);
      /* GPIO and IRQ setup are handled in the main chipset code. */
    
      // Enable the channel and Post Write Buffer
      // NOTE: Only 32-bit writes to the data buffer are allowed when PWB is set
      ide_cfg = pci_read_config32(dev, IDE_CFG);
      ide_cfg |= CHANEN | PWB;
      pci_write_config32(dev, IDE_CFG, ide_cfg);
    }


    Immagine postata dall'utente
    • Avatar
      Scritto da
      Non Autenticato
      il 2009-08-07 21:38:00.0 alle 2009-08-07 21:38:00.0
      Re: BIG FAIL!

      - Scritto da:
      >
      static void ide_init(struct device *dev)
      > {
      >   uint32_t ide_cfg;
      > 
      >   printk_spew("cs5536_ide: %s\n", __func__);
      >   /* GPIO and IRQ setup are handled in the main
      > chipset code.
      > */
      > 
      >   // Enable the channel and Post Write Buffer
      >   // NOTE: Only 32-bit writes to the data buffer
      > are allowed when PWB is
      > set
      >   ide_cfg = pci_read_config32(dev, IDE_CFG);
      >   ide_cfg |= CHANEN | PWB;
      >   pci_write_config32(dev, IDE_CFG, ide_cfg);
      > }

      >
      > [img]http://www.forumdeitroll.it/images/emo/rotfl.

      non l'ho capita.
      a che riga è che dovrei ridere? Newbie, inesperto
    • Avatar
      Scritto da
      Non Autenticato
      il 2009-08-07 21:44:00.0 alle 2009-08-07 21:44:00.0
      Re: BIG FAIL!

      - Scritto da:
      >
      static void ide_init(struct device *dev)
      > {
      >   uint32_t ide_cfg;
      > 
      >   printk_spew("cs5536_ide: %s\n", __func__);
      >   /* GPIO and IRQ setup are handled in the main
      > chipset code.
      > */
      > 
      >   // Enable the channel and Post Write Buffer
      >   // NOTE: Only 32-bit writes to the data buffer
      > are allowed when PWB is
      > set
      >   ide_cfg = pci_read_config32(dev, IDE_CFG);
      >   ide_cfg |= CHANEN | PWB;
      >   pci_write_config32(dev, IDE_CFG, ide_cfg);
      > }

      >
      > [img]http://www.forumdeitroll.it/images/emo/rotfl.http://www.hs.fi/talous/artikkeli/Uusi+iPhone+kokosi+kauppojen+edustoille+aiempaa+lyhyemm%C3%A4t+jonot/1135247080174Immagine postata dall'utente
    • Avatar
      Scritto da
      Non Autenticato
      il 2009-08-07 21:45:00.0 alle 2009-08-07 21:45:00.0
      Re: BIG FAIL!

      - Scritto da:
      >
      static void ide_init(struct device *dev)
      > {
      >   uint32_t ide_cfg;
      > 
      >   printk_spew("cs5536_ide: %s\n", __func__);
      >   /* GPIO and IRQ setup are handled in the main
      > chipset code.
      > */
      > 
      >   // Enable the channel and Post Write Buffer
      >   // NOTE: Only 32-bit writes to the data buffer
      > are allowed when PWB is
      > set
      >   ide_cfg = pci_read_config32(dev, IDE_CFG);
      >   ide_cfg |= CHANEN | PWB;
      >   pci_write_config32(dev, IDE_CFG, ide_cfg);
      > }

      >
      > Immagine postata dall'utente
<softv>

Pagina generata in 61 millisecondi

Utenti attivi: 39 nell'ultimo minuto, 95 negli ultimi cinque minuti, 129 negli ultimi 15 minuti