Re: [Patch fuselib] Support 255 character file names

2014-04-28 Thread Sylvestre Gallon
On Sun, Apr 27, 2014 at 2:37 AM, Helg xx...@msn.com wrote: I've been doing some testing of fuse and discovered a small bug where it only allows file names up to 254 characters due to not taking the NULL terminator into consideration when allocating structures. This has been commited (with

Re: [Patch fuse] fusefs_link return code

2014-05-07 Thread Sylvestre Gallon
On Mon, May 05, 2014 at 08:40:10PM +0800, Helg wrote: This patch fixes a bug where fusefs_link does not return an error on subsequent invocations if a fuse filesystem does not implement hard links. As an aside, returning ENOSYS in this case is contrary to the link(2) man page (and different

Re: [Patch fuse] fusefs_link return code

2014-05-19 Thread Sylvestre Gallon
On Wed, May 7, 2014 at 10:36 AM, Sylvestre Gallon ccna@gmail.com wrote: On Mon, May 05, 2014 at 08:40:10PM +0800, Helg wrote: This patch fixes a bug where fusefs_link does not return an error on subsequent invocations if a fuse filesystem does not implement hard links. As an aside

Add Intel Centrino Wireless-N 130 support for iwn

2013-08-07 Thread Sylvestre Gallon
Hi tech@ Here is a diff to allow the iwn driver to work with the intel Wifi Link 130. It works for me(tm) without problems and solve this bug report : http://marc.info/?|=openbsd-bugsm=134586079532510w=2 Any OK ? Cheers, Index: sys/dev/pci/if_iwn.c

Advanced btcoex in iwn(4)

2013-08-10 Thread Sylvestre Gallon
Hi, Here is a patch for advanced btcoex support in iwn(4). I know that there is no particular reason to do it due to the lack of bluetooth enabled by default. But as we already do btcoex for the cards without IWN_FLAG_ADV_BT_COEX flag I was thinking that we could also do it on other cards. I

fill /* TODO: 11A */ in bwi_rf_set_chan()

2013-09-09 Thread Sylvestre Gallon
Hi tech@, Here is a patch that implement the phy_mode == IEEE80211_MODE_11A part of bwi_rf_set_chan(). It is based on the linux b43/phy_a.c switch_channel code. It does not break my BCM4306. It would be awesome if someone could try it with a card that have a 11A phy. Comments/OK/NOK ? Cheers,

update bwi_mac_dummy_xmit

2013-09-09 Thread Sylvestre Gallon
Hi tech@ Here is a patch to update bwi_mac_dummy_xmit. This diff remove the differencies with the linux b43_dummy_transmission function. It works fine with my Broadcom BCM4306 (ID 4320) and it would be awesome if someone could try it on another chip (or if someone could lend me some bwi chips).

updating bwi_tbl_ helpers.

2013-09-09 Thread Sylvestre Gallon
Hi tech@ Here is a diff to update bwi_tbl_write_{2|4} functions and to add bwi_tbl_read_{2|4}. Switching these functions parameters from addr, data to addr, index, data will be more natural and will simplify diffs with the linux driver. I take example on tables.c code in the b43 driver. Like

Re: fill /* TODO: 11A */ in bwi_rf_set_chan()

2013-09-19 Thread Sylvestre Gallon
. But I should probably come back with a stack of diffs when I've got some results going forward in this direction :) Cheers, [1] http://wireless.kernel.org/en/users/Drivers/b43 -- Sylvestre Gallon

Re: three fuse readdir fixes

2013-10-07 Thread Sylvestre Gallon
FUSE filesystems just not support telldir/seekdir?) The GNU libfuse seems to not handle them. But we can fix our lib to fix that. oks? You're diff works for me OK syl@ -- Sylvestre Gallon

Update the sdmmmc stack to take care of the SMC_CAPS_SINGLE_ONLY capability

2013-10-18 Thread Sylvestre Gallon
Hi tech@ Here is a diff to allow the sdmmc SMC_CAPS_SINGLE_ONLY caps to do something. The bits I take are from NetBSD and it works well with ommmc(4) on my Beagle Bone Black. This capability force the sdmmc stack to only issue single blocks transfers. It is usefull for debug purpose and/or for

Re: Update the sdmmmc stack to take care of the SMC_CAPS_SINGLE_ONLY capability

2013-10-22 Thread Sylvestre Gallon
On Sat, Oct 19, 2013 at 1:51 PM, Raphael Graf r...@undefined.ch wrote: On Fri, October 18, 2013 9:54 am, Sylvestre Gallon wrote: Hi tech@ Here is a diff to allow the sdmmc SMC_CAPS_SINGLE_ONLY caps to do something. The bits I take are from NetBSD and it works well with ommmc(4) on my Beagle

sdmmc update

2013-11-07 Thread Sylvestre Gallon
Hi tech@ Here is a diff that updates our sdmmc stack with support for other frequencies than 25Mhz and for 4 pins transfers. Big chunks of this code comes directly from NetBSD sdmmc stack. Normally this diff should speedup things for some sdcards and for some controllers. I tried this diff on

Re: sdmmc update

2013-12-02 Thread Sylvestre Gallon
On Wed, Nov 20, 2013 at 10:25:52AM +0100, Stefan Sperling wrote: On Thu, Nov 07, 2013 at 08:10:16PM +0100, Stefan Sperling wrote: On Thu, Nov 07, 2013 at 08:06:11PM +0100, Sylvestre Gallon wrote: +int +rtsx_bus_width(sdmmc_chipset_handle_t sch, int width) +{ + struct rtsx_softc *sc

Re: Hangs with Fuse

2013-12-16 Thread Sylvestre Gallon
@. I've tested your command it seems to works well on current for amd64. When the network is down all vfs access get timeouts but I've no freeze here. Cheers, -- Sylvestre Gallon

Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
want information on how it works I will answer your questions in a private mail. If you have any questions about these patches or want me to change or rework something in this code I will be happy to do it. Thanks for your time, Cheers, -- Sylvestre Gallon

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
at puffs/refuse and have your help :) Cheers, -- Sylvestre Gallon

Re: Fuse (and sshfs) support for OpenBSD

2013-03-05 Thread Sylvestre Gallon
On Tue, Mar 5, 2013 at 4:29 PM, Sylvestre Gallon ccna@gmail.com wrote: Martin, You will find inline the kernel patch And here the userland : Index: Makefile === RCS file: /cvs/src/sbin/Makefile,v retrieving revision 1.97

Re: Fuse (and sshfs) support for OpenBSD

2013-03-07 Thread Sylvestre Gallon
the help I can :) Cheers, -- Sylvestre Gallon

Re: Fuse (and sshfs) support for OpenBSD

2013-04-19 Thread Sylvestre Gallon
a hand testing stuff and tracking down bugs, I'd be very happy to help. -- Gregor Best I am still working on it with the good advices of some devs (mpi@, gilles@, todd@, armani@). I Hope to have something re-submitable on tech@ in 1 or 2 weeks. Cheers, -- Sylvestre Gallon

Re: Fuse (and sshfs) support for OpenBSD

2013-06-03 Thread Sylvestre Gallon
Here is the last patch. It does not differ from last time. You only need to install sysutils/sshfs and if you have done all the last tasks well. it will works like that : root # sshfs user@domainname:/path/to/file /mnt/ Cheers, Index: sysutils/Makefile

sysctl fix

2013-06-06 Thread Sylvestre Gallon
Hi tech@ I was currently trying to get the fuse sysctls working when I found a bug in sbin/sysctl.c If you look at sys/kern/vfs_init.c MOUNT_FUSEFS use the biggest typenum : 18. So when the function vfsinit in sbin/sysctl.c gets VFS_MAXTYPENUM it gets 18, but this value will never be reached in

Re: sysctl fix

2013-06-06 Thread Sylvestre Gallon
On Thu, Jun 6, 2013 at 4:39 PM, Alexey E. Suslikov alexey.susli...@gmail.com wrote: int emulcmp(const void *, const void *); using WARNINGS=yes make it remove the following warning : sysctl.c:2697: warning: no previous prototype for 'emulcmp' Cheers, -- Sylvestre Gallon

Re: sysctl fix

2013-06-06 Thread Sylvestre Gallon
Hi, Sorry for the last mistakes. Here is a new diff that allow the maxtypenum to be reached. Cheers, Index: sysctl.c === RCS file: /cvs/src/sbin/sysctl/sysctl.c,v retrieving revision 1.189 diff -u -p -r1.189 sysctl.c --- sysctl.c

Re: sysctl fix

2013-06-06 Thread Sylvestre Gallon
Here is a second one to add fuse sysctls. Cheers, Index: sys/miscfs/fuse/fusefs.h === RCS file: /cvs/src/sys/miscfs/fuse/fusefs.h,v retrieving revision 1.1 diff -u -p -r1.1 fusefs.h --- sys/miscfs/fuse/fusefs.h3 Jun 2013

Re: sysctl fix

2013-06-06 Thread Sylvestre Gallon
And here the third one that removes all warns for : WARNINGS=yes make Cheers, Index: sysctl.c === RCS file: /cvs/src/sbin/sysctl/sysctl.c,v retrieving revision 1.189 diff -u -p -u -p -r1.189 sysctl.c --- sysctl.c16 Apr 2013

MOKO

2009-07-14 Thread Sylvestre Gallon
, -- Sylvestre Gallon (http://devsyl.blogspot.com) Fifth Grade Student @ Epitech Researcher @ LSE RD @ Rathaxes (http://www.rathaxes.org)

Re: MOKO

2009-07-14 Thread Sylvestre Gallon
On Tue, Jul 14, 2009 at 1:41 PM, Sylvestre Gallonccna@gmail.com wrote: Hi tech@, Moko does not seem to compile on current. I've tried to fix some compilation issues to compile a working kernel. The diff is in attach :) About the LCD part I think that someone has forgotten to commit a

Re: MOKO

2009-07-14 Thread Sylvestre Gallon
On Tue, Jul 14, 2009 at 4:13 PM, Dale Rahndr...@dalerahn.com wrote: On Tue, Jul 14, 2009 at 01:41:31PM +0200, Sylvestre Gallon wrote: Hi tech@, Moko does not seem to compile on current. I've tried to fix some compilation issues to compile a working kernel. The diff is in attach :) About

Compilation issue for kernel without USB.

2010-03-11 Thread Sylvestre Gallon
if you want to push the patch in the three (people who compile kernel without USB support are rare and probably drunk...) but I send you this patch just in case, who knows :) Cheers, -- Sylvestre Gallon