Commit Graph

160112 Commits

Author SHA1 Message Date
jklos
1f2ed1cde7 Added two files for Chelsio 10 gig cards. 2007-07-07 20:59:16 +00:00
jklos
37c2139a38 Updating Chelsio files. Not quite compiling yet. 2007-07-07 20:48:16 +00:00
jklos
947224b2b3 Added Chelsio vendor and various Chelsio hardware. 2007-07-07 20:37:40 +00:00
jklos
a132475473 Added Chelsio vendor plus 10 gig hardware (and friends). 2007-07-07 20:30:47 +00:00
dsl
df1814f734 Use block minor (from device name) for block devices (not char minor).
Fixes PR bin/36614
2007-07-07 20:11:07 +00:00
degroote
be58d0f67a Fix the prototyp of prop_dictionary_set_keysym in the DESCRIPTION part 2007-07-07 19:03:52 +00:00
degroote
a382db0aa9 Ansify
Remove useless extern
bzero -> memset, bcopy -> memcpy

No functionnal changes
2007-07-07 18:38:22 +00:00
christos
4fbeddc144 treat ESRCH as a soft error. From Anon Ymous 2007-07-07 18:27:26 +00:00
christos
9b2b49a478 off by one fix from Anon Ymous 2007-07-07 18:04:17 +00:00
christos
68a6fb4652 protect against null. 2007-07-07 17:53:13 +00:00
tsutsui
69dbd2e45e Move x86 common cpu_counter functions into <x86/cpu_counter.h>. 2007-07-07 17:38:26 +00:00
christos
2c9f17f0fc Fix VIA Esther from Heron Gallegos 2007-07-07 17:35:18 +00:00
tsutsui
3a6c410df9 Don't update hz by the hardware RPB field.
Leave it default HZ since we always use 1024Hz in alpha/mcclock.c.
2007-07-07 17:08:15 +00:00
tsutsui
d4f1dfc2c4 Add "options HZ=1024" by default for alpha.
All alpha machines use arch/alpha/alpha/mcclock.c for hardclock(9)
and it always sets MC_RATE_1024_Hz.
The default HZ value also affects tick and tickadj in conf/param.c.
2007-07-07 17:03:28 +00:00
xtraeme
504183f783 Fix previous: typo and missing word. 2007-07-07 09:57:47 +00:00
xtraeme
ac978f4c7f Add additional configuration for the ASUS M2N-E motherboard using
the it(4) driver, verified with aiboost(4). Values found by wiz@.
2007-07-07 09:31:54 +00:00
xtraeme
9e341f559a Set the ENVSYS_FCHANGERFACT flag in it_setup_sensors rather than
in the refresh function.
2007-07-07 05:27:22 +00:00
tsutsui
6a8a584d1a Remove leftover netns stuff. 2007-07-07 05:13:14 +00:00
mjacob
3ee1a2adaa Do a number of 24XX related fixes: fix the actual getting of initiator
status correctly (which we never were doing before). Add an underrun
checker for 24XX. The process of sorting this out led to a whole bunch
of endian surprises that had to be dealt with. Fix NVRAM endian issues
for the 24XX as well.

Do a little 2200 related cleanup- in particular, turn off complaints about
not finding a fast posting handle when running with RIO enabled- we are
somehow getting duplicate completions in this case. If we ignore them and
don't complain, all is well, and we actually start averaging > 2 commands
completed per interrupt.
2007-07-07 00:49:48 +00:00
mjacob
32f752a395 Remove some #if'd out dead code.
Put in the boundary limit for SBus/ISP dma engines (16MiB).
2007-07-07 00:04:10 +00:00
kardel
d370a3332c sync with release 2007-07-06 21:20:25 +00:00
kardel
d7d9fc60cc sync with release / removes debug NULL deref 2007-07-06 21:19:33 +00:00
christos
c9033e1918 Don't expand % escapes in headers. 2007-07-06 20:14:33 +00:00
hpeyerl
1182a0e971 regen 2007-07-06 19:23:52 +00:00
briggs
b8b28bda88 Print an error and fail the sk_attach() if we have an unknown chip type
(instead of panicing).
Also check to see if we have a Yukon2 type, and if we do, complain about
that explicitly earlier (and still fail the attach, but refer to msk(4)).
It would be better if we didn't have Yukon2 devices match in the sk(4)
device table, but in case people change the hardware without changing
device IDs, we might as well catch it.
2007-07-06 18:52:52 +00:00
briggs
eacc7fb04e Remove DLink DGE560T as it (in at least some versions) uses a Yukon EC
chipset, which is not handled by this driver, but is handled by the msk(4)
driver.  The DGE560T_2 entry is left alone for now--it might also need to
go to msk(4).
2007-07-06 18:44:16 +00:00
dsl
5cf79e2a72 Fix the other inverted test as well. 2007-07-06 17:33:31 +00:00
dsl
dd378adf69 Fix intverted test, should fix nfs and hp700 issues. 2007-07-06 17:27:49 +00:00
hpeyerl
610966ac35 ATI updates from Christoph Egger 2007-07-06 15:05:42 +00:00
christos
1a4c3f68b4 - Fix kvm_getlwps not to spit errors if we lose the race:
- if the process does not exist anymore, return NULL
	- if the process has created more lwps retry
	XXX[1]: We should fix sysctl_kern_lwp() to return the number of lwps it
		needs in oldlenp when ENOMEM. The we can avoid calling sysctl
		twice (by starting let's say with always 1 lwp, or 10).
	XXX[2]: We should fix kvm_getlwps to never spit errors.
- Silence new lint warnings
2007-07-06 14:25:42 +00:00
pooka
c3dac7fe6f make few function types match reality 2007-07-06 10:11:02 +00:00
martin
a698ff2d49 A few nits for 32bit SMP kernels, noticed by mrg.
While there, simplify the fpstate IPIs a bit.
2007-07-06 07:36:46 +00:00
xtraeme
4108f3ed3a SENSOR_UPTYPE: accept values of 0 for any object, so that the value is
showed in its dictionary.
2007-07-05 23:48:22 +00:00
pooka
1451f0dabb document PUFFS_KFLAG_LOOKUP_FULLPNBUF 2007-07-05 22:42:14 +00:00
pooka
b710306f2c apply ketchup to recent source changes in libpuffs 2007-07-05 22:37:52 +00:00
jklos
eddc22c9b4 These files (cxgb*) are for the Chelsio T3 10 gigabit ethernet card from
the FreeBSD driver by Kip Macy (kmacy@FreeBSD.org).
2007-07-05 22:23:18 +00:00
jklos
0bdffa7573 Updates of working copies (there will be many). 2007-07-05 22:21:37 +00:00
bouyer
2d9d4664a8 readat() expects the offset in DEV_BSIZE units. This made resize_ffs find the
filesystem on a vnd partition for me. It did grow the filesystem, and after
a fsck -f on the partition to fix a few superblock inconsistencies, all
looks good.
2007-07-05 21:38:20 +00:00
dsl
4c11bfb2e9 Preserve the mbr 'driver serial number' when copying in the netbsd
mbr code.  Should leave windows vista bootable.
Print the dsn from the mbr, not each pbr.
2007-07-05 20:30:29 +00:00
martin
43ebaf27df sparc64_ipi_save_fpstate is not a leaf function - create a full grown
stack frame.
2007-07-05 20:21:11 +00:00
xtraeme
ec5dc77a7c tyop 2007-07-05 20:17:43 +00:00
dsl
c8ad8ea05b Add code that should preserve the 'drive serial number' field of the mbr.
Ought to stop the installer from stopping windows vista from being bootable.
2007-07-05 20:03:00 +00:00
dsl
0c7234ef6a Note here that -e can be used on the pxeboot_ia32.bin file.
(It is already mentioned on the pxeboot(8) page.)
2007-07-05 19:49:53 +00:00
christos
f3df14f9e8 From FreeBSD:
Fix a bug in sblock() that has existed since revision 1.1 from BSD:
  correctly return an error if M_NOWAIT is passed to sblock() and the
  operation might block.  This remarkably subtle macro bug appears to
  be responsible for quite a few undiagnosed socket buffer corruption
  and mbuf-related kernel panics.
2007-07-05 19:45:54 +00:00
agc
ca741c4a3f Fix minor grammar nit. 2007-07-05 19:44:02 +00:00
dsl
1f7faf40a2 Change the entry for ptmx to use the netbsd ptm driver.
Delete the entries for pts/nnn and add a note at the tope (next to the
ptmx info) about using ptyfs for the pts devices.
2007-07-05 19:34:36 +00:00
dsl
1cb4e9208d Rip out the support for /dev/ptmx, the netbsd ptm driver will now DTRT.
It probably ought to have minor 2 (ie do the chown/chmod/revoke on open)
because the SVR4 programs dont know anything about revoke.
2007-07-05 19:19:24 +00:00
ginsbach
15b661abe9 Fix several end cases:
o If a long option looks like an ambiguous abbreviation of two or more long
  options, but all the possible interpretations would return the same
  value, then just return that value without complaining that it's
  ambiguous.

o If a long option could be interpreted either as an exact match for one
  long option, or as an abbreviation for one or more other long options,
  then treat it as the exact match.

These changes align NetBSD's getopt_long(3) with the current behavior of
GNU getopt_long(3), the de facto standard, and FreeBSD's getopt_long(3).
2007-07-05 16:05:40 +00:00
xtraeme
8a70d87249 Sync with reality. 2007-07-05 16:00:39 +00:00
xtraeme
9f0e4ef0f4 Some changes:
- Add support for the IT8716F chip, patch from FUKUMOTO Atsushi via
  PR port-i386/35796.
- Enable the flag ENVSYS_FCHANGERFACT in voltage sensors, to be able to
  increment the value returned by the driver via envstat(8).
- Update VBAT sensor reading every time we read it, otherwise it will
  always report the power on value.
- Enable all sensors that were missing before: 3 Temp + 3 Fan + 9 Voltage.
- Add new registers to set high/low limits in temperature/voltage sensors
  (still unused).
- Disable some sensors if they are reporting bogus data or simply they are
  not connected.

Tested by wiz.
2007-07-05 15:20:30 +00:00