Commit Graph

168521 Commits

Author SHA1 Message Date
njoly
dc80a00302 Add msync(2) syscall. 2008-04-04 12:57:55 +00:00
njoly
2b6f0cc5e4 Regen for linux_sys_msync removal. 2008-04-04 12:43:00 +00:00
njoly
dcde97da0e Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.
2008-04-04 12:38:52 +00:00
tsutsui
229f1dede1 Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
2008-04-04 12:36:06 +00:00
tsutsui
d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui
960221ac26 Split device_t/softc with misc related changes. 2008-04-04 12:20:48 +00:00
tsutsui
f061be1a68 Add options COMPAT_40. 2008-04-04 10:21:40 +00:00
xtraeme
63e2f604f6 Split device_t/softc and other related cosmetic changes. 2008-04-04 10:11:01 +00:00
hannken
ad882177bc Update includes. Builds again on sparc64.
Ok: Juan Romero Pardines <xtraeme@netbsd.org>
2008-04-04 10:10:20 +00:00
xtraeme
a95f67b961 This driver attachs to the iic bus not i2c. 2008-04-04 10:09:07 +00:00
tsutsui
88d7308f1b Add options COMPAT_40. 2008-04-04 10:06:54 +00:00
xtraeme
74fc6cf06c Split device_t/softc and other related cosmetic changes. 2008-04-04 09:49:49 +00:00
hauke
00d02da16b Go all the way, and use the new accessor function for the device_xname field. 2008-04-04 09:49:33 +00:00
xtraeme
315a851ae4 Don't forget to unmap I/O space in the error paths.
Split device_t/softc and other related cosmetic changes.
2008-04-04 09:41:40 +00:00
tsutsui
703736dfc6 Fix botches in the previous. 2008-04-04 09:33:07 +00:00
xtraeme
6f1c8ce653 Don't forget to unmap I/O space in the error paths. 2008-04-04 09:30:55 +00:00
yamt
f5c7cd2491 adb_read_date_time: remove an unused variable. 2008-04-04 09:16:59 +00:00
xtraeme
6137f9f2a1 Don't forget to unmap the I/O space in the error paths. 2008-04-04 08:44:22 +00:00
xtraeme
1b00b10fa6 Remove an unused softc member. 2008-04-03 23:16:23 +00:00
xtraeme
789a8d9a8c Enable finsio(4). 2008-04-03 23:11:11 +00:00
xtraeme
d91e0059ae Add finsio(4). 2008-04-03 23:09:59 +00:00
xtraeme
b4af2cba55 Add the finsio(4) LKM. 2008-04-03 22:57:40 +00:00
xtraeme
489d9f36fc Erm. Backout previous... I committed the wrong file. 2008-04-03 22:54:29 +00:00
xtraeme
ba517bc7f5 Mention finsio(4). 2008-04-03 22:51:53 +00:00
xtraeme
4889c380c2 Add finsio(4) entry (commented out). 2008-04-03 22:51:09 +00:00
xtraeme
a68cbff5b2 Add the finsio(4) driver. This driver supports the Hardware Monitor
device in the Fintek LPC Super I/O chips, this includes the following
list:

- F71805F
- F71806F
- F71862FG
- F71872F
- F71882
- F71883F

This has been adapted from the fins(4) driver available in OpenBSD, which
only supported F71805F.

Tobias Nygren <tnn> and myself added support for the other chips; thanks go
to Tobias for testing the driver with a Fintek F71882 chip.
2008-04-03 22:46:22 +00:00
dyoung
cdb2193bda Improve error handling. gre(4) is still broken, but it does not
any longer cause a page fault trap.
2008-04-03 21:40:59 +00:00
riz
f0643af2a0 Support for Digi International 4 and 8 port boards, from OpenBSD.
XXX need to convert the rest of the PCI vendor/product IDs to macros
2008-04-03 20:45:08 +00:00
riz
791e9731ab Regen. 2008-04-03 20:43:27 +00:00
riz
f40279c0a6 Digi International Neo 4 and 8 port serial boards. 2008-04-03 20:42:15 +00:00
drochner
ed2b61ded7 update for device/softc split, thanks to Risto Sainio for testing 2008-04-03 17:04:40 +00:00
matt
2c2b152b21 Add support for --ignore-unresolved-symbol 2008-04-03 15:40:17 +00:00
drochner
16304febf2 minor fixes for device/softc split, approved by dogcow
(not tested on real hardware yet)
2008-04-03 15:12:43 +00:00
drochner
46f8b82348 update for device/softc split,
compile-tested by yamt -- could someone please give it a functional test?
2008-04-03 15:08:58 +00:00
drochner
42de29841b restore error handling in usbopen() (accidentally removed in a recent
commit), should fix a crash reported by Arto Huusko
2008-04-03 14:07:01 +00:00
xtraeme
9f5ac6b847 Add ARC_FW_DISK_INITIALIZED flag for device_state and do not treat
it as unknown; in this state the disk is correctly working so set it
as online.

Also remove some bogus htole32() for diskinfo->device_state.

This should fix PR kern/38299 by Hiroyuki Bessho.
2008-04-03 13:59:00 +00:00
xtraeme
6cefaaf7eb Mention support for the SCH5307-NS and SCH5317 Super I/O. 2008-04-03 13:37:20 +00:00
xtraeme
5cc216e9bb Add support for the SCH5307-NS and SCH5317 Super I/Os. They are
compatible with LPC47B397, only the device ID is changed.

Simplify and improve the code, and split device_t/softc.
2008-04-03 13:36:33 +00:00
adrianp
11a00dfcb8 Fix two vulnerabilities in OpenSSH:
- X11 forwarding information disclosure (CVE-2008-1483)
- ForceCommand bypass vulnerability
2008-04-03 13:09:14 +00:00
adrianp
3304ed5765 OpenSSH 5.0 is out 2008-04-03 12:44:56 +00:00
nisimura
5d92871af1 revise SDRAM SPD detect attempt for EUMB I2C debugging purpose. 2008-04-03 11:24:02 +00:00
jmmv
53501bc8e0 Improvements and fixes from J. Vicente Carrasco sent by private mail. 2008-04-03 10:47:27 +00:00
nakayama
b1253edf64 Revise cpu_need_resched and cpu_signotify, then make them like x86's ones.
This can avoid sending IPI to myself.
2008-04-03 10:34:45 +00:00
jmcneill
8843b0cbbb Disable machdep.acpi_beep_on_reset by default. 2008-04-03 10:20:18 +00:00
dyoung
b674c86ad6 Fix one of two bugs introduced by the descriptor handling changes
(rev 1.125): correct the check for fd_getsock() failure in
gre_socreate().

The second bug is more complicated to fix.  Since rev 1.125,
gre_reconf() is using the file descriptor table of the current
process instead of the process 0's (the kernel's).
2008-04-03 07:19:32 +00:00
dyoung
0228252053 Cosmetic: use curlwp everywhere that it is appropriate, instead of
using a temporary variable.  Remove superflous curly braces.  Move
an assignment that shuts up a "variable may be used uninitialized"
warning.
2008-04-03 07:12:16 +00:00
scottr
776597a46f Factor out ADB spin-wait timeout loop, and use it for synchronous
operations to access the PRAM RTC, etc. in the IIsi and Cuda cases.
Thanks to Martin Husemann for pointing out the flaw.

This is a slightly more thorough workaround for the issue Martin found
in PR 37611, as it affected more than just adb_read_date_time().
2008-04-03 05:03:23 +00:00
christos
012e0e0132 make this compile with MPDEBUG. parts missing 2008-04-03 01:02:23 +00:00
manu
1c3bd4b930 fix Linux build 2008-04-02 19:02:50 +00:00
hauke
b1374c3956 Fall-out from splitting device_t and softc for the dp8390 softc. 2008-04-02 18:36:58 +00:00