Commit Graph

116879 Commits

Author SHA1 Message Date
matt
12588bd8b6 Adapt to the new calling conventions of unp_connect2 2003-09-04 04:33:49 +00:00
matt
e3bf7b7e7d Adjust to the new calling convention of unp_connect2. 2003-09-04 04:30:25 +00:00
mrg
cd7d35dbec install a "cccp" man page for now. 2003-09-04 04:19:08 +00:00
mrg
02fdaf3a7a backout rev 1.16 (wrong tree), and 1.17 and 1.18 trying to fix 1.16... 2003-09-04 04:17:01 +00:00
itojun
119a24cbdd clarify comment on m_cat(). 2003-09-04 04:10:32 +00:00
mycroft
aea8e885f0 Cast a printf() arg so that USB_DEBUG compiles on multiple platforms. 2003-09-04 03:47:03 +00:00
dan
a038ec9b06 build atw(4) 2003-09-04 03:21:11 +00:00
dan
b8ae1829cd build atw.4 2003-09-04 03:17:03 +00:00
itojun
19d8b9bfea don't use m_cat to mbuf of different types. KAME-PR-495 2003-09-04 03:07:33 +00:00
itojun
f13cb0c7b2 bzero() 2nd arg mistake. found by openbsd guys. from kame 2003-09-04 00:12:56 +00:00
itojun
1e4d96a37f bzero() 2nd arg mistake. found by openbsd guys, via kame 2003-09-04 00:11:49 +00:00
mycroft
9bba9f60b6 Well, this is bloody obscure...
My Imation USB FlashGO! adapter responds to a Get Max Lun request with a
stall.  With uhci, this does the expected thing.  With ohci, it was returning
a "data underrun" error because we weren't setting "buffer rounding" (i.e.
USBD_SHORT_XFER_OK), and the underrun was taking priority.  This happened with
both the ohci in a Mac cube and the builtin ohci on the S3C2410.

So, set USBD_SHORT_XFER_OK on the Get Max Lun.  Now I get a stall reported and
umass attaches correctly.
2003-09-04 00:02:59 +00:00
matt
d7506a7151 Fix typo. 2003-09-03 22:20:34 +00:00
martin
965fbb9f63 If the peer cares to send us error messages, actually display them. 2003-09-03 21:36:31 +00:00
matt
cec9cb32df Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
the encoding of the spl for the port.
2003-09-03 21:33:31 +00:00
matt
ecf95073f1 Change the behavor of AF_LOCAL connect() to sleep until the server has
accepted the connection.  This can prevent a client from overwhelming a
server.
2003-09-03 21:30:12 +00:00
drochner
7fd74af1e3 add a "using namespace std" to make it compile with gcc3, and remove
the Makefile clause which disabled it in the gcc3 case
2003-09-03 20:53:16 +00:00
martin
6f2d2eefc7 Rearange dead link detection slightly:
As long as we receive data from the peer, don't worry. When we have not
received anything within the "max_noreceive" period, we start sending LCP
echo requests and count them, until we receive an answer (or some data)
or the "maxalive" count of not answered echo requests is reached.
All this is checked at a global 10 seconds interval for all interfaces.
The "max_noreceive" period and the "maxalive" count are configurable per
interface.
2003-09-03 20:48:46 +00:00
dsl
426b102381 fsirand is no longer needed. 2003-09-03 19:38:04 +00:00
ragge
ffaea276d3 Add a few more prototypes. 2003-09-03 19:35:26 +00:00
ragge
a90264a9b5 Add alloca() prototype. XXX should be somewhere else. 2003-09-03 19:35:02 +00:00
dsl
e6ca38e5ec Ensure the area between the end of the main superblock and the start of the
first alternate superblock is zerod.
Removes any possibility of any programs using a trully out of date
alternate superblock if a filesystem is remade with a larger block size.
2003-09-03 19:29:12 +00:00
thorpej
d00feb8a89 Allow file inclusions to be relative to the file currently being
included.  This is done by tracking the current directory for the
file being parsed, and constructing a path relative to that directory
when an include directive's file name begins with "./".
2003-09-03 18:56:37 +00:00
dsl
36aa427d2c Randomise di_igen for the first 2 blocks of inodes for non-UFS2 filesystems.
Randomise di_igen for "/" (and lost+found) for UFS2 filesystems.
Ensure nothing from the lost+found inode leaks into the / inode.
2003-09-03 17:08:58 +00:00
jhawk
4b3391a2a6 %F is a date conversion, not a time converstion.
don't bother to bump Dd
2003-09-03 16:10:56 +00:00
drochner
38b8690553 make the cpp.1 thing really work 2003-09-03 14:21:51 +00:00
simonb
05c33c1c05 Need to set BUS_DMA_COHERENT to BUS_DMA_NOCACHE on IBM ppc4xx CPUs.
The "emac" interface now works properly again on my Walnut.  Much
thanks to Steve Woodford for tracking this down.
2003-09-03 13:30:05 +00:00
simonb
553d2b901f Add missing semicolon. 2003-09-03 13:05:50 +00:00
jlam
8b2d4b4f3c Bump version to 20020824 after allowing users to use more than the default
view.
2003-09-03 12:52:30 +00:00
jlam
f7ddad56af Don't prevent users from using more than just the default view. Let's let
them try to use one of the good points of pkgviews right away.
2003-09-03 12:45:25 +00:00
jlam
b3a911d206 Remove parts that were there just to allow this to compile on NetBSD ~1.3.
We have this in pkgsrc and bootstrap-pkgsrc for those systems.
2003-09-03 12:44:01 +00:00
he
022f01cef7 Cast size_t to u_long before printing, and use %lu instead of %d as format.
Fixes compilation on alpha.
2003-09-03 12:43:41 +00:00
ragge
412d4e7d1b Use correct basic types when addresses are given in function calls. 2003-09-03 11:36:52 +00:00
ragge
76d3da2d68 Do correct pointer casts. 2003-09-03 11:13:14 +00:00
ragge
d13eca2ef5 long -> unsigned long. 2003-09-03 10:55:22 +00:00
ragge
65e8bb870b long -> unsigned long, so that correct pointer is sent in function call. 2003-09-03 10:45:10 +00:00
he
2dc6bde778 Add pkg_view and linkfarm binaries and man pages. 2003-09-03 10:25:44 +00:00
jlam
0430171011 Check the return from read on the file descriptor for the ftp process: if
we don't get anything, then it's an error.  From cb@netbsd.org in private
email.
2003-09-03 07:33:37 +00:00
manu
72fb398585 regen 2003-09-03 07:29:29 +00:00
manu
fcd3e861d0 Implement Darwin's FIODTYPE ioctl (get a file d_type) 2003-09-03 07:28:38 +00:00
lukem
d4ea794325 .PHONY cleanlnfiles 2003-09-03 07:09:39 +00:00
lukem
518360ab1a pull in <bsd.files.mk> incase LNFILES is used by <bsd.man.mk> user. 2003-09-03 05:40:12 +00:00
lukem
d18c364585 Implement LNFILES: a list of two word items:
lnsrc lntgt
For each lnsrc item, create a symlink named lntgt.
The lntgt symlinks are removed by the cleandir target.
2003-09-03 05:38:09 +00:00
mycroft
9b3ff19873 Whoops, reenable some stuff. 2003-09-03 03:19:04 +00:00
mycroft
7929022703 Add gzboot support for SMDK2410. 2003-09-03 03:18:30 +00:00
mycroft
56cdfe0eab GC a bogus variable that was causing link failures with PCMCIA. 2003-09-03 03:17:22 +00:00
mycroft
e5168f409e Use generic versions of rr_1, wr_1, sr_1 -- some PCMCIA cards use these. 2003-09-03 03:15:02 +00:00
mycroft
f13bd83ab3 Minor tweak for some macros elsewhere. 2003-09-03 03:12:28 +00:00
mycroft
1e2b27307d Add some register definitions. 2003-09-03 03:11:50 +00:00
mycroft
b715eaff3c Recognize some TI processors -- not that you'd want to use them. 2003-09-03 02:07:07 +00:00