Submitted by someone who thinks he's called "Daper":

Fix bug #15013: Wrong use of PPICLAIM (kernel: ppdev0: claim the
port first)

* par.c: don't claim/release here (thus win_ppdev.h not needed
anymore)
* ppi.c: claim/release here.
* freebsd_ppi.h: ppi_claim/ppi_release now take an fd as parameter.
* solaris_ecpp.h: (Ditto.)
* linux_ppdev.h: (Ditto.)  (Also add copyright.)
* win_ppdev.h: Not needed anymore, remove.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@557 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2005-11-29 20:20:22 +00:00
parent d219669126
commit 458ffc455a
7 changed files with 52 additions and 28 deletions

View File

@@ -24,9 +24,9 @@
#include <dev/ppbus/ppi.h>
#define ppi_claim(pgm) {}
#define ppi_claim(fd) {}
#define ppi_release(pgm) {}
#define ppi_release(fd) {}
#define DO_PPI_READ(fd, reg, valp) \
(void)ioctl(fd, \