Poul-Henning Kamp
4e74721cac
Add a sysctl (default: off) which enables a log(LOG_INFO...) warning
...
if the clock is stepped.
2004-01-21 21:05:40 +00:00
Poul-Henning Kamp
58d120f6d3
Simplify timing gymnastics a bit.
2004-01-21 19:20:57 +00:00
Bill Paul
dda13ca0ef
Make sure to trap failures correctly in ndis_get_info() and ndis_set_info().
2004-01-21 19:14:52 +00:00
Poul-Henning Kamp
d1bab139fe
Remove #ifdef for ancient source FreeBSD compat.
2004-01-21 19:02:02 +00:00
Brooks Davis
b5897e3235
Don't leak softc's when destroying interfaces.
...
Init the softc list when loaded.
Noticed by: Maurycy Pawlowski-Wieronski <maurycy at fouk dot org>
2004-01-21 18:05:38 +00:00
Colin Percival
9d0be84912
Fix style(9) of my previous commit.
...
Noticed by: nate
Approved by: nate, rwatson (mentor)
2004-01-21 18:03:54 +00:00
Robert Watson
679365e7b9
Reduce gratuitous includes: don't include jail.h if it's not needed.
...
Presumably, at some point, you had to include jail.h if you included
proc.h, but that is no longer required.
Result of: self injury involving adding something to struct prison
2004-01-21 17:10:47 +00:00
Colin Percival
9f8ef8b8d1
Allow devfs path rules to work on directories. Without this fix,
...
devfs rule add path fd unhide
is a no-op, while it should unhide the fd subdirectory.
Approved by: phk, rwatson (mentor)
PR: kern/60897
2004-01-21 16:43:29 +00:00
Yoshihiro Takahashi
0461cbf76e
MFi386: revisions from 1.1116 to 1.1119.
...
Remove NEWCARD related devices.
2004-01-21 16:28:19 +00:00
Yoshihiro Takahashi
9ce630976e
Merged from sys/dev/sio/sio.c revision 1.418.
2004-01-21 16:12:29 +00:00
Hajimu UMEMOTO
7a2e32cbe3
Sync to pccarddevs 1.81.
2004-01-21 16:03:40 +00:00
Hajimu UMEMOTO
a950ec6208
There is PANASONIC KXLC005 which has another product id.
2004-01-21 16:02:20 +00:00
Olivier Houchard
cf45d5da77
Setting pccb->ccb_h.status to CAM_REQ_CMP one time is enough.
2004-01-21 10:49:42 +00:00
Ruslan Ermilov
c7301f9132
The gdbinit.${MACHINE_ARCH} script may not exist.
2004-01-21 08:23:46 +00:00
Peter Grehan
e878e0085f
Add syscons options and enable USB, since there is no conflict between
...
the OpenFirmware console and the syscons console when using a USB
keyboard.
2004-01-21 05:22:53 +00:00
Peter Grehan
e723eedf01
Add required GFB options as well as one for ofw/syscons.
2004-01-21 05:20:58 +00:00
Peter Grehan
473795dcdf
Add syscons files, and also generate a syscons font since Apple
...
SVGA adapters don't have one available in their ROMs.
2004-01-21 05:19:59 +00:00
Peter Grehan
e976ea5a89
- Catch up with panic __LINE__/__FILE__ changes by moving panic calls
...
out of asm.
- remove some long-dead code from machdep.c
2004-01-21 05:18:08 +00:00
Peter Grehan
462ded3729
A syscons implementation using the 8-bit framebuffer set up by
...
OpenFirmware. Not at all optimized, but provides a PC-style
user-experience.
Tested on revA imac, B&W G3, 2k iBook, and G4 eMac.
2004-01-21 05:16:23 +00:00
Peter Grehan
a2dce78a84
__powerpc__ conditional code for the syscons OpenFirmware/PPC framebuffer.
...
Took the opportunity to reduce
__i386__ || __ia64__ || __amd64__ || __sparc64__ || __powerpc__
to
!__alpha__
reviewed by: gallatin
2004-01-21 05:08:51 +00:00
Peter Grehan
feb43b1c96
Update 128-bit long double constants to match what is expected
...
by libc
2004-01-21 04:56:39 +00:00
Sam Leffler
b5b47bc6fa
Fix ipip_output() to always set *mp to NULL on failure, even if 'm'
...
is NULL, otherwise ipsec4_process_packet() may try to m_freem() a
bad pointer.
In ipsec4_process_packet(), don't try to m_freem() 'm' twice; ipip_output()
already did it.
Obtained from: netbsd
2004-01-20 22:45:10 +00:00
Sam Leffler
c58cde95d1
fix build after KAME changes
2004-01-20 22:44:21 +00:00
Jeffrey Hsu
61a36e3dfc
Merge from DragonFlyBSD rev 1.10:
...
date: 2003/09/02 10:04:47; author: hsu; state: Exp; lines: +5 -6
Account for when Limited Transmit is not congestion window limited.
Obtained from: DragonFlyBSD
2004-01-20 21:40:25 +00:00
John Baldwin
1aa9b61068
Use getenv_int() rather than reimplementing it.
2004-01-20 21:38:48 +00:00
Robert Watson
be05719004
Pay attention to mac_portacl_enabled.
...
Submitted by: simon
2004-01-20 18:33:02 +00:00
Søren Schmidt
8a1bddb753
Update the support for the VIA 8237 southbridge.
2004-01-20 16:51:02 +00:00
Bill Paul
67e272e2b8
Correct instances of mtx_lock()/mtx_unlock() that should have been
...
mtx_pool_lock()/mtx_pool_unlock().
2004-01-20 08:19:42 +00:00
Mathew Kanner
222d2384ef
Reduce latency when using the SNDCTL_DSP_RESET ioctl by calling
...
chn_resetbuf().
Submited by: Pyun YongHyeon <yongari@kt-is.co.kr>
Approved by: tanimura (mentor)
2004-01-20 05:30:09 +00:00
David E. O'Brien
556c5b97ea
Fix sort misordering.
2004-01-20 04:37:07 +00:00
Mathew Kanner
5ee30e277a
Fix a panic when kldloading a sound driver. Do this by replacing the
...
link-list of dev_t's with named variables. Remove used code.
Approved by: tanimura (mentor)
2004-01-20 03:58:57 +00:00
Marcel Moolenaar
28466ae036
Fix handling of FP traps:
...
o For traps, the cr.iip register points to the next instruction to
execute on interrupt return (modulo slot). Since we need to get
the bundle of the instruction that caused the FP fault/trap, make
sure we fetch the previous bundle if the next instruction is in
fact the first in a bundle.
o When we call the FPSWA handler, we need to tell it whether it's
a trap or a fault (first argument). This was hardcoded to mean a
fault.
Also, for FP faults, when a fault is converted to a trap, adjust the
cr.iip and cr.ipsr registers to point to the next instruction. This
makes sure that the SIGFPE handler gets a consistent state.
2004-01-20 03:29:24 +00:00
Marcel Moolenaar
dd45fd9791
s/framep/tf/g -- this normalizes on the use of tf to point to the
...
trapframe and improves grep-ability.
2004-01-20 02:35:46 +00:00
Andrey A. Chernov
9bbee25931
pread/pwrite:
...
follow lseek spirit - return EINVAL on negative offset for non-VCHR
2004-01-20 01:27:42 +00:00
Poul-Henning Kamp
50d23be140
Add linenumber and source filename to panic(9) output.
...
Ideally a traceback should be printed too, any takers ?
2004-01-19 21:27:11 +00:00
Alexander Kabaev
54556cc7b8
One more instance of magic number used in place of IO_SEQSHIFT.
...
Submitted by: alc
2004-01-19 20:45:43 +00:00
Bill Paul
40e22f3c3f
Add WDM major/minor #defines.
2004-01-19 20:45:27 +00:00
Alexander Kabaev
6bd39fe978
Spell magic '16' number as IO_SEQSHIFT.
2004-01-19 20:03:43 +00:00
Bill Paul
4f7a266b2f
Implement IofCompleteRequest() and IoIsWdmVersionAvailable().
...
Correct IofCallDriver(): it's fastcall, not stdcall.
Add vector to vsprintf().
2004-01-19 19:57:00 +00:00
Bill Paul
259c9c6054
Implement atoi() and atol(). Some drivers appear to need these. Note
...
that like most C library routines, these appear to be _cdecl in Windows.
2004-01-19 19:21:25 +00:00
Bill Paul
35f5524920
Eliminate some code duplication: since ndis_runq() and ndis_intq() were
...
basically the same function, compact them into a single loop which can
be used for both threads.
2004-01-19 18:56:31 +00:00
Søren Schmidt
cedc7194d5
Fix breakage on timeout/retries. The bug cause a sema to be leaked so
...
that the calling process would newer wakeup.
2004-01-19 15:20:00 +00:00
Ruslan Ermilov
d8239e2877
Removed custom "load" and "unload" targets.
...
Removed "deinstall" targets -- the idea is to provide the standard
"deinstall" target.
2004-01-19 14:00:26 +00:00
MIHIRA Sanpei Yoshiro
146dec80e1
Sync to 1.159 of usbdevs
2004-01-19 12:53:23 +00:00
MIHIRA Sanpei Yoshiro
cf73864749
Add support IO-data DVD Multi-plus unit iU-CD2
...
PR: kern/61578
Submitted by: Masaharu FUJITA <m@fjts.org>
MFC after: 1 week
2004-01-19 12:51:40 +00:00
Ruslan Ermilov
9cf7b16038
Normalize SUBDIR.
2004-01-19 12:36:08 +00:00
Bill Paul
f98f50fcfd
Properly program the multicast filter in ndis_setmulti(),
...
and fix promisc mode in ndis_ioctl().
2004-01-19 07:03:46 +00:00
Atsushi Onoe
e249fdbedb
Change WI_RID_SCAN_RES compatibility interface to return the result after
...
active scan is completed just as WI_RID_READ_APS.
This fixes wicontrol -L for ath(4) and awi(4) to have results even if
the driver cannot associate any APs.
2004-01-19 05:25:43 +00:00
Bruce Evans
389ed6f873
Fixed misplacement and bitrot in the cy driver's configuration in
...
rev.1.1040. It is a miscellaneous isa+pci driver, but came back
described as a pci-only driver and placed in an i4b pci subsection
after its migration to /sys/conf/NOTES. Put it back where it used to
be, fully unsorted in the `Miscellaneous hardware' section. Reduced
nearby disorder in this section by moving configuration of the digi
driver to where it was for the old digiboard drivers, so that the
order at least matches the order in the table of contents.
2004-01-19 02:18:34 +00:00
Bruce Evans
1d34d1e618
Removed some garbage comments:
...
- references to removed math emulators for NPX_DEBUG
- header for the null set of mandatory devices
- reference to the removed (and bogus when it existed) sysctl
kern.timecounter.method.
2004-01-19 01:44:06 +00:00