Commit Graph

145551 Commits

Author SHA1 Message Date
scw 34b4a96dbb Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.
2006-04-03 08:15:48 +00:00
scw 842f766ad5 Regen. 2006-04-03 07:15:01 +00:00
scw 310e551bbb Add vendor id for Topfield Co., Ltd.
Add product id for the TF5000PR range of digital video recorders.
2006-04-03 07:14:03 +00:00
uebayasi c00933e927 Comment about what this is like to prevent future mistake... 2006-04-03 06:22:45 +00:00
uebayasi 979db3a4b2 Fix build of this mysterious boot program; a userlevel bootloader run on
NetBSD and boot NetBSD (!).

The program was run from within boot-only, NetBSD-as-bootloader as a userlevel
program, then in-kernel boot code loads another NetBSD image and jumps to
it.
2006-04-03 06:15:00 +00:00
wiz e9a003bced Use Dq, punctuation vs whitespace nits. 2006-04-03 05:56:20 +00:00
yamt e6e5a0e51b actually set up baudrate after rev.1.33. 2006-04-03 05:08:40 +00:00
yamt 25e67975a5 fix a typo in LINKS. 2006-04-03 05:05:55 +00:00
christos c4341bc3e1 Pass a little lint. 2006-04-03 04:53:58 +00:00
perry 29dc02e572 delinting. more needed. (lint found some real bugs that I haven't fixed yet.) 2006-04-03 04:25:30 +00:00
perry b43b6e6666 Merge a few of the OpenBSD manual page changes. Not yet close to
finished but I have to break for now and Thor will probably pick up
from where I left off.
2006-04-03 03:46:34 +00:00
tls 125606b781 Wwwwwwww! Do not remove variables from the vtable in vars.c without
changing the indices in tip.h -- what a terrible design.

Okay, "design".  Fine.  Whatever. ;-)  Now we don't dump core all the time.
2006-04-03 03:13:10 +00:00
perry 31f14bb93a Clean up a bit. 2006-04-03 02:33:19 +00:00
perry d71f683e39 Remove vestiges of the ACULOG support. It depended on the suid support
(which is now gone) and it is woefully obsolete -- if something
analogous is ever needed in the future, syslog is the way to do it.
2006-04-03 02:25:27 +00:00
tls bc4c5be2bf Now we use tip-as-cu, not Taylor UUCP cu.
These programs are no longer setuid, and now lock devices with flock,
not file locks in /var/spool/.  They will no longer lock against UUCP
itself unless we modify UUCP to lock with flock, but this seems highly
unlikely to be an issue in the present day.
2006-04-03 02:21:13 +00:00
perry 8a1d2efb73 remove refs to uucp locking and aculog 2006-04-03 02:14:26 +00:00
tls 6bd8b21472 The ~C / ~+ command is no longer optional. 2006-04-03 02:06:44 +00:00
perry eee85da04c Remove support for uucp style locking.
This means we can get rid of the suid/sgid parts of the code (which
have been removed). The program is now installed with normal permissions.

To prevent accidents, we now flock the tty line, attempting to get an
exclusive lock.

Reviewed by: tls
2006-04-03 02:01:28 +00:00
tls 896b79dbc8 If we're not given a phone number or system name to dial, use "direct
connect" mode -- in other words, set CLOCAL so the user can talk to the
device before CD.
2006-04-03 01:48:22 +00:00
tls bed8070daa Whoops. We don't *use* log.o, so don't *build* it. 2006-04-03 01:47:20 +00:00
perry 58c2151f1e ANSIfy decls, de-__P, clean trailing whitespace 2006-04-03 00:51:13 +00:00
tls 4c0b53d7b4 At Luke Mewburn's suggestion, disable "force" by default, too. Those using
the tip frontend who really want ^P used for "send literal" can turn it on
in tiprc or remote.
2006-04-02 23:25:35 +00:00
uwe 3cd02a3c5e Add WSDISPLAY_CUSTOM_OUTPUT &co. 2006-04-02 23:14:42 +00:00
tls edddcc4ac8 Add another Taylor compat option, --nostop to disable software flow control
(a.k.a. "tandem" mode).  While we're here, fix a buglet with --halfduplex,
and add --flow {hard, soft, none}.  Note that you can't get *both* hard and
soft flow control using the command-line option; if you want that, you
have to set the variables in tiprc or with ~s once tip is running.

Move all setting of vars.c named variables to *after* the call to vinit().
2006-04-02 22:19:26 +00:00
bjh21 24b605d41f Circular references are almost inevitable between libsa and libriscos.
Solve them the easy way, using --start-group and --end-group.
2006-04-02 22:13:32 +00:00
tls da6a898cf6 Oddly enough, smashing CRTSCTS into the terminal input flags doesn't do
much; it is a control flag.

Now toggling hardware flow control works.
2006-04-02 20:44:20 +00:00
tls 6b0f06d935 Fix the conditional compilation on ACULOG so it actually works.
Turn it off by default -- it hardly saves any space, but it's
one of the reasons why the executable is installed setuid, and
other versions of tip/cu don't write a log file anyway.  We can
add syslog support later if we ever really want this back, the
file-writing is all encapsulated in log.c.
2006-04-02 19:16:22 +00:00
tls ad69069bcc New 'cu' command-line handling, derived from Todd Miller's in OpenBSD,
but with some long options added for Taylor 'cu' compatibility, and
with some bugs fixed (in particular, the handling of -# now works as
documented and does not overwrite argv).
2006-04-02 19:04:24 +00:00
tls 0b7476a655 Remove extra \n from call to warn() 2006-04-02 19:03:55 +00:00
tls b3de57c6bf Don't build any of the dialers except Hayes. If anyone is using any of
the others (maybe "Courier", but I doubt it) we can easily enough turn
them back on.

Saves 20-30K depending on platform.  Not totally insignificant, since this
often goes on install media, or very small systems.
2006-04-02 19:00:40 +00:00
dsl 2d31b1673e malloc data the size the pointer points to, not the size of a pointer.
Maybe we get away with this (at least on 32bit archs) because the structure
is 24 bytes and I bet the minimum allocation size is 32.
Fixed coverty CIDs 2732 and 2733
2006-04-02 18:29:12 +00:00
kiyohara 38e42c3d76 Support aupcmcia on OMSAL400. 2006-04-02 17:32:57 +00:00
bouyer fb009d1ad3 Properly update output counters. 2006-04-02 17:11:12 +00:00
macallan f8e479a39b correct a typo 2006-04-02 17:09:01 +00:00
macallan 3bd975beb8 declare len before using it 2006-04-02 17:08:23 +00:00
kiyohara b8c71b3650 Reorder. 2006-04-02 17:04:24 +00:00
bouyer e3393ee971 xbd_xenbus_detach(): wait for the backed to release grant reference to the
ring before trying to revoke it, otherwise the kernel may panic in
xengnt_revoke_access.
2006-04-02 15:36:10 +00:00
bouyer e35565d1d4 Add proper detach support for Xen3 xennet. 2006-04-02 15:32:41 +00:00
bouyer 02e9db01de unregister_xenbus_watch(): Ops, correct code to remove pending watch events
so that it's not an infinite loop.
2006-04-02 15:32:10 +00:00
bouyer eb7b686214 Ops, better include bpfilter.h if we're going to use NBPFILTER > 0.
Should make bpf work on Xen3 domU, problem reported by Stephane Bortzmeyer
on port-xen.
2006-04-02 13:56:12 +00:00
yamt c61cfbc7ca pool_grow: don't increase pr_minpages. (fix a mistake in 1.113) 2006-04-02 13:25:34 +00:00
tsutsui 27ec859c0e Add some delay() on asserting MEC_MAC_CORE_RESET. 2006-04-02 11:20:46 +00:00
agc 9be1dc8d96 Use the correct type for the length argument to lba2cdb. 2006-04-02 10:46:47 +00:00
agc 8b20725dfb Fix a (repeated) obvious bug in the tracing functions.
Modify the return values of some boolean functions to be 1 for success, 0
for failure, rather than 0 and -1 respectively.
2006-04-02 09:36:57 +00:00
dsl 114adc27fb call extent_free_region_descriptor(ex, myrp) when ltseep() returns non-zero
(eg if interrupted).
Fixes Coverty CIDs 1555 and 1556.
2006-04-02 09:27:05 +00:00
dsl c89fb86a25 Bail out of sysctl_create() if we fail to malloc() own.
free(own) when we bail out if any later malloc() calls fail.
Fixes coverty CID 2310
2006-04-02 09:07:57 +00:00
dsl 49b6576d34 Predicate all the tests against existing children with a single 'if (node)'.
Simplify the test that ensures a CTLFLAG_ANYNUMBER child is an only child.
Will stop the coverty CID 1082 report.
2006-04-02 08:04:05 +00:00
christos af0a2a9e7a Add a new lifnum sockio. 2006-04-02 07:17:16 +00:00
christos 0185b5a197 remove dup decl 2006-04-02 06:45:16 +00:00
christos e5c9c0c478 minor nits 2006-04-02 06:44:23 +00:00