Osoi endiaferontai na sthsoun systhma panw stis nees platformes read in.

V13 v13 at it.teithe.gr
Thu Feb 3 12:50:07 EET 2005


On Thursday 03 February 2005 05:57, Giorgos Keramidas wrote:
> On 2005-02-03 01:36, Stefanos Harhalakis <v13 at it.teithe.gr> wrote:
> >On Wednesday 02 February 2005 19:16, Giorgos Keramidas wrote:
> >>On 2005-02-02 16:54, Iakwbos Triantafilloy <ewsforos at styx.irc.gr> wrote:
> >>> Oson afora tis kartes diktyou stis nees platformes (PCI-E) polla board
> >>> xrhsimopoioun tis Marvel-Yukon (aka Syskonnect) 8053 Gbit kartes oi
> >>> opoies paroti einai onboard einai panw sto PCI-E bus. Aytes oi kartes
> >>> thewrhtika yposthrizontai apo to "sk98lin" module. [...]
> >>
> >> Kanoun compile, an kaneis comment out duo grammes, pou exoun balei oi
> >> malakes pou tous eftiaksan ena lathos struct field name.  Mporw na sas
> >> steilw kai to patch gia to patch (ahdies), alla mallon den exei nohma
> >> giati...
> >
> > Den egrapsan lathos to onoma. An psakseis to google tha deis oti
> > alakse kapoy ston 2.6.8 an thymamai kala. Den prepei na ginoyn
> > comment!
>
> Xm, epsaksa alla den petyxa kati.  Profanws, eite kapoios anakalupse thn
> patata meta apo mena, h apla exo arxisei na gernao kai na tuflonomai :P

Xmm sorry.. tora ksanaeida to patch poy xreiazetai kai eida oti den einai etsi 
akribos. Yparxoyn 2 alages, apo tis opoies h mia einai ayti poy eipes gia to 
struch kai sto opoio xreiazetai comment.

Idoy to patch me to opoio eixe doylepsei se emena:

--- drivers/net/sk98lin/sky2.c.orig 2004-12-29 02:12:07.000000000 +0200
+++ drivers/net/sk98lin/sky2.c 2004-12-29 02:03:37.000000000 +0200
@@ -1503,7 +1503,7 @@
   /* 
   ** release the DMA mapping 
   */
-  pci_dma_sync_single(pAC->PciDev,
+  pci_dma_sync_single_for_cpu(pAC->PciDev,
     (dma_addr_t) pSkPacket->pFrag->pPhys,
     pSkPacket->pFrag->FragLen,
     PCI_DMA_FROMDEVICE); 
@@ -1524,7 +1524,7 @@
    }
    CLEAR_LE_OWN_FROM_DONE_TO(pLETab, pSkPacket->NextLE);
    SET_DONE_INDEX(pLETab, pSkPacket->NextLE);
-   pci_dma_sync_single(pAC->PciDev,
+   pci_dma_sync_single_for_cpu(pAC->PciDev,
      (dma_addr_t) pSkPacket->pFrag->pPhys,
      pSkPacket->pFrag->FragLen,
      PCI_DMA_FROMDEVICE); 

--- drivers/net/sk98lin/skge.c.orig 2004-12-29 02:10:36.000000000 +0200
+++ drivers/net/sk98lin/skge.c 2004-12-29 01:59:52.000000000 +0200
@@ -395,7 +395,7 @@
  dev->open =  &SkGeOpen;
  dev->stop =  &SkGeClose;
  dev->get_stats = &SkGeStats;
- dev->last_stats = &SkGeStats;
+/* dev->last_stats = &SkGeStats; */
  dev->set_multicast_list = &SkGeSetRxMode;
  dev->set_mac_address = &SkGeSetMacAddr;
  dev->do_ioctl =  &SkGeIoctl;
@@ -536,7 +536,7 @@
   dev->open               = &SkGeOpen;
   dev->stop               = &SkGeClose;
   dev->get_stats          = &SkGeStats;
-  dev->last_stats         = &SkGeStats;
+/*  dev->last_stats         = &SkGeStats; */
   dev->set_multicast_list = &SkGeSetRxMode;
   dev->set_mac_address    = &SkGeSetMacAddr;
   dev->do_ioctl           = &SkGeIoctl;

> a) Den mou aresei p.x. katholou pou den exoun online, sto site tous,
> technical specs gia tis kartes.

Exoyn open-source drivers omos, to opoio einai episis poly symantiko!

<<V13>>




More information about the Linux-greek-users mailing list