diff for duplicates of <200807220947.43074.super.firetwister@gmail.com> diff --git a/a/1.txt b/N1/1.txt index c20ce3d..847fc39 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,15 +1,15 @@ Hello Uwe, -On Tuesday 22 July 2008, Uwe Kleine-König wrote: +On Tuesday 22 July 2008, Uwe Kleine-K=F6nig wrote: > I don't know powerpc in general nor ppc405ep in detail but IIRC arm has > problems if some memory is mapped twice. Might this be the problem > here? -Maybee, the emac0 (0xef600800) and emac1 (0xef600900) get mapped as well, +Maybee, the emac0 (0xef600800) and emac1 (0xef600900) get mapped as well,=20 because AFAIK I have to map a whole pagesize (0x1000). -> > + int uiofd = open(UIO_DEV,O_RDWR); +> > + int uiofd =3D open(UIO_DEV,O_RDWR); > > For debugging this is OK, in the final application you should add some > tests. Check the UIO documentation for the details. @@ -20,8 +20,8 @@ The whole example was meant to be short. > > +static int uio_gpio_remove(struct device *dev) > > +{ > > + uio_unregister_device(&info); -> > + info.mem[0].addr = 0; -> > + info.mem[0].size = 0; +> > + info.mem[0].addr =3D 0; +> > + info.mem[0].size =3D 0; > > + return 0; > > +} > @@ -32,7 +32,8 @@ The whole example was meant to be short. This was stolen from uio_dummy. So this might become a common error :( -Thanks a lot for your comments, I will try to get an exclusive memory region +Thanks a lot for your comments, I will try to get an exclusive memory regio= +n=20 mapped. Markus diff --git a/a/content_digest b/N1/content_digest index d53b34a..231c275 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -10,16 +10,16 @@ "b\0" "Hello Uwe,\n" "\n" - "On Tuesday 22 July 2008, Uwe Kleine-K\303\266nig wrote:\n" + "On Tuesday 22 July 2008, Uwe Kleine-K=F6nig wrote:\n" "\n" "> I don't know powerpc in general nor ppc405ep in detail but IIRC arm has\n" "> problems if some memory is mapped twice. Might this be the problem\n" "> here?\n" "\n" - "Maybee, the emac0 (0xef600800) and emac1 (0xef600900) get mapped as well, \n" + "Maybee, the emac0 (0xef600800) and emac1 (0xef600900) get mapped as well,=20\n" "because AFAIK I have to map a whole pagesize (0x1000).\n" "\n" - "> > + int uiofd = open(UIO_DEV,O_RDWR);\n" + "> > + int uiofd =3D open(UIO_DEV,O_RDWR);\n" ">\n" "> For debugging this is OK, in the final application you should add some\n" "> tests. Check the UIO documentation for the details.\n" @@ -30,8 +30,8 @@ "> > +static int uio_gpio_remove(struct device *dev)\n" "> > +{\n" "> > + uio_unregister_device(&info);\n" - "> > + info.mem[0].addr = 0;\n" - "> > + info.mem[0].size = 0;\n" + "> > + info.mem[0].addr =3D 0;\n" + "> > + info.mem[0].size =3D 0;\n" "> > + return 0;\n" "> > +}\n" ">\n" @@ -42,9 +42,10 @@ "This was stolen from uio_dummy. So this might become a common error :(\n" "\n" "\n" - "Thanks a lot for your comments, I will try to get an exclusive memory region \n" + "Thanks a lot for your comments, I will try to get an exclusive memory regio=\n" + "n=20\n" "mapped.\n" "\n" Markus -33bf3f6c36b31fd36f5ada407a82c54cdf22eb9c6426bcaa95825dd2bd0d2762 +9a00eaacc8b482722e693a7a7e17d3c663bdd2c480dc2aff195049b07e916751
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.