Commit Graph

72415 Commits

Author SHA1 Message Date
mike
4726fef171 Include <string.h> for some prototypes, rather than depending on
pollution from <strings.h>.
2002-04-01 21:13:17 +00:00
joe
e39c04d242 Back out lots of the last commit that was committed by accident.
(It's my test rig for some CVSUP,SUP code).

Spotted by:	Michael G. Petry <petry@NetMasters.Com>
2002-04-01 20:47:27 +00:00
joe
aa1cbfa491 MFNetBSD:
revision 1.40
    date: 2000/10/10 12:37:01;  author: augustss;  state: Exp;  lines: +4 -3
    Don't free unallocated pointer in detach (can happen if detach happens
    before attach has finished).
2002-04-01 20:32:50 +00:00
joe
94bf6eda6c MFNetBSD:
revision 1.60
    date: 2000/12/28 10:40:36;  author: augustss;  state: Exp;  lines: +2 -1
    #define for USB_2_0
2002-04-01 20:26:38 +00:00
joe
0baa7df1b4 MFNetBSD:
revision 1.58
    date: 2000/06/24 04:12:53;  author: thorpej;  state: Exp;  lines: +5 -2
    Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
    platforms which otherwise function just fine.
2002-04-01 20:23:50 +00:00
phk
22bcf04e25 Remove the disktab.h include file from the build. 2002-04-01 20:20:16 +00:00
joe
2a13609ac2 MFNetBSD:
revision 1.130
    date: 2000/12/18 15:55:30;  author: tsutsui;  state: Exp;  lines: +2 -2
    Add missed le32toh() in uhci_device_isoc_abort().
2002-04-01 20:18:21 +00:00
phk
127f2f3558 Really sweep the broom on this one.
It's amazing how much cruft accumulate over the years...
2002-04-01 20:18:02 +00:00
joe
381fb729d8 MFNetBSD:
revision 1.129
    date: 2000/12/16 16:09:24;  author: augustss;  state: Exp;  lines: +4 -3
    Don't repeat 'host controller halted' message.  From OpenBSD.
2002-04-01 20:14:23 +00:00
jhb
0b136cbc16 Whitespace only change: use ANSI function declarations instead of K&R. 2002-04-01 20:13:31 +00:00
phk
ff93ddcfbe Extend a hack to also hack around PC98's definition of __i386__ 2002-04-01 20:13:03 +00:00
phk
598694f67a Remove various controller/disk type hacks for SMD, ST506 and ancient
SCSI stuff which have far outlived its sell by date.
2002-04-01 20:06:14 +00:00
joe
b491ad5ea0 MFNetBSD:
revision 1.127
    date: 2000/11/22 05:50:59;  author: soren;  state: Exp;  lines: +5 -5
    In uhci_intr(), only warn about power state confusion if the
    interrupt was actually for us.
2002-04-01 20:04:00 +00:00
phk
36113692da This file is entirely bogus. 2002-04-01 20:03:31 +00:00
phk
46a144c02a Point to the correct #include file. 2002-04-01 20:03:05 +00:00
joe
ef1c99a507 MFNetBSD: ohci.c rev 1.94, uhci.c rev 1.126
date: 2000/11/10 14:11:49;  author: augustss;
    Update frlengths after a isoc transfer.
    Suggested by Yuri <yuri@tsoft.com>
2002-04-01 20:01:41 +00:00
jhb
6cda25b08a Wrap the arguments to CTR6() in parentheses so that the u_long casts work
properly for arguments that are expressions.
2002-04-01 19:44:13 +00:00
joe
238f731f44 MFNetBSD: ohci.c rev 1.92, uhci.c rev 1.122 (part)
date: 2000/08/08 19:51:46;  author: tv;  state: Exp;  lines: +24 -13
    %b -> bitmask_snprintf()

    Because this code is shared, add a macro for bitmask_snprintf()
    that should expand to the equivalent snprintf() on non-NetBSD
    systems. This is only used in ?HCI_DEBUG cases anyway.
2002-04-01 19:42:51 +00:00
joe
0070d25d67 MFNetBSD:
revision 1.86
    date: 2001/05/16 04:50:11;  author: lukem;  state: Exp;  lines: +1 -2
    delint: remove unnecessary assignment to same objection (hidden
    in #define)
2002-04-01 19:26:36 +00:00
jhb
0d9425e398 Remove references to KTR_EXTEND.
Pointy-hat to:	jake
2002-04-01 19:25:22 +00:00
joe
17fd701a25 constify 2002-04-01 19:22:04 +00:00
joe
b0aa9915e0 Use ANSI prototypes and declarations.
Update $NetBSD$ idents to better reflect reality.
2002-04-01 19:01:09 +00:00
imp
64579c4ffc More diff reduction patches 2002-04-01 18:52:53 +00:00
dougb
194bb69a26 The good news is that my initial PR was correct... the bad news is that I
was apparently smoking something when I committed the last fix, because as
ume was kindly enough to set me straight on, amd *will* start with no
arguments at all, as long as there is an /etc/amd.conf file for it to
read. What it won't do is start with *just* -p.

In any case, now it's fixed.
2002-04-01 18:33:45 +00:00
joe
d53644b6ac Update $NetBSD$ idents to better reflect reality. 2002-04-01 18:31:16 +00:00
imp
deeaa2d4f4 Merge a little from NetBSD. This changes reduces the diffs between the
two a little, but more commits like this will follow.
2002-04-01 18:28:20 +00:00
imp
9b647928d1 Fix type from last commit 2002-04-01 18:26:32 +00:00
jhb
68b038cafa Add long long casts so that this compiles on archs with 64-bit longs.
Pointy-hat to:	phk
2002-04-01 18:23:58 +00:00
joe
62ecfcc328 Merge from NetBSD:
revision 1.81
    date: 2000/10/24 15:01:26;  author: augustss;  lines: +36 -10
    Add a hack to try and figure out if the TI UTUSB41 hub is bus
    powered despite claiming to be self powered (it's important to
    know so that the power budget can be met).
2002-04-01 18:22:31 +00:00
imp
96d233ef9d Add more ID's from the PRISM family. from wi.c 1.61 and wireg.h 1.26 by
ichiro@netbsd.org

Obtained from: NetBSD
2002-04-01 18:07:05 +00:00
joe
99d1c2e754 Merge from NetBSD: revision 1.72
Part of this got merged in a previous commit, but not all.

    revision 1.72
    date: 2000/04/14 14:13:56;  author: augustss;  state: Exp;  lines: +34 -27
    Make attach of ugen work as it should so product&vendor locators
    can be used.
2002-04-01 18:03:00 +00:00
joe
b9b25ed12c Update $NetBSD$ idents to reflect reality. 2002-04-01 17:54:07 +00:00
jhb
abfe646d2e Fix style bug in previous commit. 2002-04-01 17:53:42 +00:00
joe
b8c1c4560a We might as well show the log message if we're going to produce the patch. 2002-04-01 17:51:27 +00:00
joe
db0983ce90 Merge from NetBSD: Removed unnecessary variable declaration. 2002-04-01 17:49:12 +00:00
joe
fbdfc826a1 Synchronise with the NetBSD version of this header file for formatting. 2002-04-01 17:43:28 +00:00
joe
05e8567b72 Merge from NetBSD: usbdi.c rev 1.77, usbdi.h rev 1.44
date: 2000/09/23 21:02:04;  author: augustss;
    Add a way to do control transfers on other pipes than the default pipe.
2002-04-01 17:30:24 +00:00
joe
2c7908baab Use ANSI prototypes and declarations. 2002-04-01 17:24:49 +00:00
joe
f78b13cf8d Merge from NetBSD: Make it compile with USB_DEBUG. 2002-04-01 17:05:55 +00:00
joe
c141c965fe Install libusbhid.h during 'make includes'.
Requested by:	jhb
MFC after:	3 days
2002-04-01 16:59:43 +00:00
joe
aadab0967d Merge from NetBSD:
usb.c rev 1.43, usb_port.h rev 1.26, usb_subr.c rev 1.71

Some OpenBSD portability fixes.
2002-04-01 16:53:29 +00:00
joe
a0ec0d81da Merge from NetBSD:
usb.c 1.40:
    revision 1.40
    date: 2000/03/14 23:13:12;  author: augustss;  state: Exp;  lines: +4 -1
    Make sure the USB event thread discovers all devices first time
    it call usb_discover().  It should now be possible to have the
    root NFS mounted over a USB Ethernet Adapter.
2002-04-01 16:29:24 +00:00
ume
82470a81d3 Make `route add -inet6 default ::1 -ifp gif0' work actually.
The change between 1.13 and 1.14 is specific to AF_INET.

MFC after:	1 week
2002-04-01 16:17:13 +00:00
joe
cf7d96daed Take an option flag to specify that we'd like a patch generated too. 2002-04-01 16:17:12 +00:00
ume
f432495aa7 When _kevent() returns with errno = EINTR and timeout is not
exceeded, it should be falldown to next_ns.

MFC after:	1 week
2002-04-01 16:09:45 +00:00
joe
7229f2e43f Merge from NetBSD:
usb_port.h (1.33), usbdi_util.c (1.32), usbdi_util.h (1.22):

    ----------------------------
    date: 2000/06/01 14:37:51;  author: augustss;
    Improve some portability items.
    ----------------------------
2002-04-01 16:09:43 +00:00
joe
106ab02ef1 Tidy up the formatting so that it's in the style of NetBSD's copy of
this file.
2002-04-01 15:37:00 +00:00
ume
ac7adaa7df In nd6_lookup(), check if rt_llinfo is non-NULL to avoid returning an
entry that has the LLINFO flag but is not a neighbor cache entry.

Obtained from:	KAME
MFC after:	1 week
2002-04-01 15:15:05 +00:00
joe
1c7e552839 Use ANSI prototypes and declarations. 2002-04-01 15:01:29 +00:00
phk
913e19a2e5 Fix the makefile to match the repo-copy from tech to freebsd. 2002-04-01 13:58:14 +00:00