| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
ichiro@netbsd.org
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
date: 2000/09/23 21:02:04; author: augustss;
Add a way to do control transfers on other pipes than the default pipe.
|
| |
|
| |
|
|
|
|
|
|
| |
usb.c rev 1.43, usb_port.h rev 1.26, usb_subr.c rev 1.71
Some OpenBSD portability fixes.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The change between 1.13 and 1.14 is specific to AF_INET.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
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.
----------------------------
|
|
|
|
| |
this file.
|
|
|
|
|
|
|
| |
entry that has the LLINFO flag but is not a neighbor cache entry.
Obtained from: KAME
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
----------------------------
revision 1.26
date: 1999/11/28 22:49:53; author: augustss; state: Exp; lines: +12 -8
More USB_DEBUG and DIAGNOSTIC output.
----------------------------
|
|
|
|
|
|
|
|
|
| |
----------------------------
revision 1.73
date: 2000/05/31 16:14:42; author: augustss; state: Exp; lines: +19 -6
Be more careful when setting the alternate interface so we don't
end up with nothing set at all if it fails.
----------------------------
|
|
|
|
|
|
|
|
|
| |
----------------------------
revision 1.117
date: 2000/05/30 09:26:06; author: augustss; lines: +7 -1
As a safety, check that the controller is not suspended when we get
an interrupt.
----------------------------
|
|
|
|
|
| |
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
----------------------------
revision 1.90
date: 2000/05/08 18:28:46; author: thorpej; lines: +8 -3
Quiet some uninitialized variable warnings that do in fact
look legitimate.
----------------------------
|
|
|
|
| |
Update the $NetBSD$ ident to reflect reality.
|
|
|
|
|
|
|
|
|
|
| |
ohci.c (1.85), ohcireg.h (1.17):
----------------------------
date: 2000/04/01 09:27:35; author: augustss;
Add a delay before reading the number of ports from the controller to
avoid getting 0 from it.
----------------------------
|
|
|
|
|
|
|
|
|
| |
ohci.c (1.83), ohcireg.h (1.16), ohcivar.h (1.21)
===================================================================
date: 2000/03/29 01:46:26; author: augustss;
A first stab at support for isochronous transfers.
===================================================================
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MI, not required to be a fixed size, and used in multiple headers.
This will grow in time, as more things move here from <sys/types.h>
and <machine/ansi.h>.
o Add missing type definitions (uint16_t and uint32_t) to
<arpa/inet.h> and <netinet/in.h>.
o Reduce pollution in <sys/types.h> by using `#if _FOO_T_DECLARED'
widgets to avoid including <sys/stdint.h>.
o Add some missing type definitions to <unistd.h> and note the ones
that still need to be added.
o Make use of <sys/_types.h> primitives in <grp.h> and <sys/types.h>.
Reviewed by: bde
|
|
|
|
|
|
|
|
| |
to control the exposure of macros and prototypes depending upon the
POSIX, X/Open, or ISO C version an application has requested.
Submitted by: wollman
Reviewed by: bde, imp
|
|
|
|
|
|
| |
but this makes the driver not panic my -current box.
Approved by: scottl
|
|
|
|
|
|
|
|
| |
fourth would be a divergence from the prevailing style.)
Thanks to bde for catching this.
Pointed out by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dump the trace buffer feasible.
- Remove KTR_EXTEND. This changes the format of the trace entries when
activated, making writing a userland tool which is not tied to a specific
kernel configuration difficult.
- Use get_cyclecount() for timestamps. nanotime() is much too heavy weight
and requires recursion protection due to ktr traces occuring as a result
of ktr traces. KTR_VERBOSE may still require recursion protection, which
is now conditional on it.
- Allow KTR_CPU to be overridden by MD code. This is so that it is possible
to trace early in startup before pcpu and/or curthread are setup.
- Add a version number for the ktr interface. A userland tool can check this
to detect mismatches.
- Use an array for the parameters to make decoding in userland easier.
- Add file and line recording to the non-extended traces now that the extended
version is no more.
These changes will break gdb macros to decode the extended version of the
trace buffer which are floating around. Users of these macros should either
use the show ktr command in ddb, or use the userland utility which can be run
on a core dump.
Approved by: jhb
Tested on: i386, sparc64
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caveats:
The new savecore program is not complete in the sense that it emulates
enough of the old savecores features to do the job, but implements none
of the options yet.
I would appreciate if a userland hacker could help me out getting savecore
to do what we want it to do from a users point of view, compression,
email-notification, space reservation etc etc. (send me email if
you are interested).
Currently, savecore will scan all devices marked as "swap" or "dump" in
/etc/fstab _or_ any devices specified on the command-line.
All architectures but i386 lack an implementation of dumpsys(), but
looking at the i386 version it should be trivial for anybody familiar
with the platform(s) to provide this function.
Documentation is quite sparse at this time, more to come.
Details:
ATA and SCSI drivers should work as the dump formatting code has been
removed. The IDA, TWE and AAC have not yet been converted.
Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set
the device as dumpdev. To implement the "off" argument, /dev/null
is used as the device.
Savecore will fail if handed any options since they are not (yet)
implemented. All devices marked "dump" or "swap" in /etc/fstab
will be scanned and dumps found will be saved to diskfiles
named from the MD5 hash of the header record. The header record
is dumped in readable format in the .info file. The kernel
is not saved. Only complete dumps will be saved.
All maintainer rights for this code are disclaimed: feel free to
improve and extend.
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
|
| |
have ripped all the i386 specific formatting code from their
dump routines. Due to the potential for trashing disks, I did
not want to do this "blind".
|
| |
|
|
|
|
| |
Make the dump routine do just writing of data.
|
|
|
|
|
|
|
|
|
| |
This design is my best effort and it is quite likely that people more used
to kernel dumps may want to change this subsequently so two levels of
version numbers are provided: one for the common header and one per
architecture.
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
|
|
|
| |
the non-GEOM code as well. This simplifies the the kernel-dumping
and disk-management tools as less compatibility cruft will be needed.
Sponsored by: DARPA and NAI Labs.
|
|
|
|
|
| |
in both the condition and for the install. We expect to find
the help file in ${.OBJDIR}.
|
|
|
|
|
|
| |
completes. The reference is released in aio_free_entry().
Submitted by: tegge
|
| |
|
|
|
|
|
|
|
| |
while holding the proc lock, and by holding the pargs structure when
accessing it from outside of the owner.
Submitted by: Jonathan Mini <mini@haikugeek.com>
|
|
|
|
|
|
|
|
|
|
|
| |
(65536 * 32 - 1), but MAKEDEV only supports up to (32 * 32 -1). Device
names use the unit number in base 32 for all "digits".
This required fixing an old bug in MAKEDEV:ttyminor(). Its arg was the
global $unit instead of $1.
Reminded by: Valentin K. Ponomarenko <valka@krog.ukrtel.net>
MFC-after: 1 week
|
| |
|
|
|
|
| |
take them out with tacticals.
|
|
|
|
|
| |
bogus all things considered, but at least now they don't camouflage as
being MD variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
measured accurately for periodic interrupts provided the interrupts
don't need to be serviced very quickly to keep their period almost
constant. sio output interrupts have this property (interrupt service
can be delayed for up to 1 character time without the period changing).
This is non-optional and undocumented so that it can be added and
removed easily. It has no significant effect unless it is enabled by
hacking on a variable using a debugger. Hardclock and statclock interrupts
would work even better for this, at least on i386's, provided their
interrupt handlers are fast (as they are in -current but not in -stable
or in my version of -current).
|
|
|
|
|
|
|
|
| |
the osigcontext or ucontext_t rather than useracc() followed by direct user-
space memory accesses. This reduces (o)sigreturn()'s execution time by 5-
50%.
Submitted by: bde
|