Commit Graph

139067 Commits

Author SHA1 Message Date
rpaulo 16a8e8c2e7 Enable WARNS=3. 2005-08-10 17:52:56 +00:00
rpaulo 279b6fba65 Fixed an output bug where a new-line was added due the usage of puts(3). 2005-08-10 16:10:51 +00:00
macallan b97218831c add uni_n, 2nd ki2c, iic, deq, hardware monitors. 2005-08-10 15:57:32 +00:00
macallan f869dc7da4 added uni_n, deq, attachments for adt7467c and adm1030c, additional attachment for ki2c 2005-08-10 14:39:25 +00:00
macallan d9f9caa094 - don't call ki2c private functions anymore, use iic_exec() to be a good i2c citizen
- use the deq driver to find the mixer device
- add controls for bass and treble
2005-08-10 14:32:08 +00:00
macallan 98735d6c6c dummy driver to represent the uni-n node in OF and attach its children 2005-08-10 14:30:15 +00:00
macallan f5c3157174 split from ki2c.c 2005-08-10 14:29:08 +00:00
macallan 19df969aa4 dummy driver to represent the deq node in OF, marks the equalizer/mixer chip used by snapper 2005-08-10 14:28:22 +00:00
macallan 40f380a1cb allow to attach a normal iic bus, implements only iic_exec() and locking functions so far. 2005-08-10 14:26:46 +00:00
macallan 9e54758862 glue to attach thermal monitor chips directly to ki2c 2005-08-10 14:20:44 +00:00
macallan d0c6868c13 added drivers for Analog Devices ADT7467 and ADM1030 thermal monitor / fan controller chips found in various Apple laptops and probably other machines. 2005-08-10 14:18:28 +00:00
rpaulo e58060915c Pass lint(1). 2005-08-10 14:02:26 +00:00
rpaulo 2c43d92fd8 Enable WARNS=3. 2005-08-10 14:02:10 +00:00
peter ad9c34ce5c Changes suggested by lukem:
1. Order pf to start before the network is configured.

2. If the pf_rules cannot be found at boot time, abort the boot (from the
   ipfilter script).
2005-08-10 13:52:05 +00:00
bouyer 13f098d5de Not add PIIX are wired to compat mode these days. Problem reported and fix
tested by Havard Eidnes.
2005-08-10 13:23:38 +00:00
christos c3766be38e Allow setting the MAC address via wiconfig -m (Lord Isildur) 2005-08-10 13:20:42 +00:00
bouyer 55cbfde80a Add missing declaration/initialisation of wdc.
Pointed out by Rui Paulo.
2005-08-10 13:15:42 +00:00
yamt 0be9633956 re-implement ipv6 tx loopback checksum omission. 2005-08-10 13:08:11 +00:00
yamt b211b85ff4 wrap INET-only code by #if defined(INET). 2005-08-10 13:07:21 +00:00
yamt f02551ec2d move {tcp,udp}_do_loopback_cksum back to tcp/udp
so that they can be referenced by ipv6.
2005-08-10 13:06:49 +00:00
yamt 8220c378e6 device independent part of ipv6 rx checksum offloading. 2005-08-10 13:05:16 +00:00
yamt c4717bee9b add ipv6 tx checksum offloading support for wm driver.
reviewed by Jason Thorpe.
2005-08-10 12:59:43 +00:00
yamt 40a140d919 ipv6 tx checksum offloading. reviewed by Jason Thorpe. 2005-08-10 12:58:37 +00:00
christos 55ca57f0a2 Don't save the el->el_line.cursor over a cv_insert call and use it later
because it might change. From Stefan Farfedeler.
2005-08-10 12:46:24 +00:00
he 8974f21b75 Make this build for __GNUC__ <= 2 (i.e. for vax). The cast to
caddr_t removes a const qualifier.  Instead, cast the first element
of the subtraction to "struct sockaddr *" to work around the problem.
2005-08-10 11:48:17 +00:00
bouyer 008b4bf1fc Revert previous, now that wdc.c properly initialize wdc->reset for wdcprobe(). 2005-08-10 11:19:31 +00:00
bouyer b1ce9b8a68 Also initialize wdc->reset in wdcprobe() if the bus back-end didn't provide
one. Prevent NULL pointer dereference when wdcprobe() is called.
2005-08-10 11:16:53 +00:00
yamt 5a3ce82137 exit_lwps: fix a race with eg. sa_setwoken.
ie. "exit_lwps: lwp_wait1 failed with error 11"
PR/30689.
2005-08-10 09:44:02 +00:00
yamt 98d4a17db9 exit_lwps: fix a race which causes a panic "setrunnable: lwp %p state was %d". 2005-08-10 09:42:03 +00:00
mrg 3a96c9add9 add a "file" to the arguments that isn't enclosed in square brackets
making it clear that at least one file/directory argument is required
in both the manual and usage.  "find" with no args currently barfs but
these documents implied it would do something useful.
2005-08-10 06:51:24 +00:00
junyoung fcb89ca5cb Fall back to ISO-8859-1 until we have an UTF-8-aware editor in tree. 2005-08-10 00:18:18 +00:00
christos 81c9862ba6 - Minor logical restructure. Make sure we can create the client before
even bothering to call makemsg(); (Liam Foy)
- Use MAXPATHLEN consistently (Liam Foy)
- WARNS=3, KNF and misc cleanups
2005-08-09 23:41:38 +00:00
christos 573f57f885 Say which daemon produces the data and correct the default of 3 minutes
(Liam Foy)
2005-08-09 23:28:59 +00:00
christos ef6897a3a6 Add "by default" (Liam Foy) 2005-08-09 23:27:31 +00:00
he be72885616 Disable the C++ warning -Wold-style-cast for sh3 as well, because
that CPU's headers' va_start() uses a cast.

Discussed with christos.
2005-08-09 22:16:19 +00:00
bouyer 4d7691a538 The ATA/ATAPI IDENTIFY data were designed to be converted on the fly to
host byte order (eventually the byte swapping could be wired in hardware, on
the 16 bit data bus). This was keept when wdc_exec_command() was created,
and as a result wdc_exec_command() is doing 16bit conversion to host byte
order. This is fine for IDENTIFY but doesn't work for other opaque data
structure, such as the ones for SMART.
So change wdc_exec_command() to do the conversion to host byte order only for
WDCC_IDENTIFY and ATAPI_IDENTIFY_DEVICE. This fixes atactl smart status
on big-endian hosts.

While here change __wdccommand_intr() to only use wdc_data{in,out}_pio, there
is no gain in doing the 32bit data port stuff locally.
2005-08-09 22:08:16 +00:00
nakayama 25cffdf24e Embed machine and cpu architecture correctly by target host environmet,
not by build host.

Pointed out by Davide Zanon and Rui Paulo in current-users@.
2005-08-09 21:49:23 +00:00
christos abefed98a7 Add typedefs for DuplicateProc and FreeProc from Max Okumoto. 2005-08-09 21:36:42 +00:00
ginsbach 08af90d648 Accept protocol flags, i.e. -inet, -inet6, with the show command.
[From OpenBSD via DragonFly BSD]
2005-08-09 21:25:42 +00:00
ginsbach 2cff02da42 Fix the default case in sodump(). Printing the address of the "which"
string isn't really that useful.  Instead print the string and the value
of sa_family.
2005-08-09 20:33:06 +00:00
ginsbach 3997584e62 More style nits (KNF); casts and sizeof's are not followed by a space. 2005-08-09 19:43:24 +00:00
chris 3e566c2bde Remove changes to bitbang code for de devices to work as tlps on cats.
I need to investigate a proper fix that doesn't break other platforms, eg:
PR kern/30952
2005-08-09 19:26:24 +00:00
nonaka fc0aa884c0 fix "panic when "wdc at obio" is probed".
(It is caused by sys/dev/ic/wdc.c: 1.224 -> 1.225)
2005-08-09 16:42:05 +00:00
christos fda9b4f722 Don't delete the current line in vi mode when typing 'yy'.
From Stefan Farfeleder.
2005-08-09 16:40:12 +00:00
he 1042d80dad Gcc 2.95.3 doesn't support the -Wabi warning flag, so don't try to use
it there.

The vax port's va_start() macro uses a cast, so for the moment disable
the -Wold-style-cast warning flag for the old GCC as well (as vax is
the only remaining port using this compiler).
2005-08-09 15:24:26 +00:00
christos e31432ec85 add a new style cast to memcpy. 2005-08-09 15:17:41 +00:00
peter c9c458f33c Add command_args="-D" to the ftpd rc.d script. This flag is always needed
when running ftpd as daemon and it will now automatically be appended to the
command line, even if ftpd_flags doesn't have it.

Suggested by Alan Barrett and Luke Mewburn, thanks.
2005-08-09 14:59:33 +00:00
christos b779ac8673 Fix two more help iterators. Thanks Stefan Farfeleder! 2005-08-09 13:58:44 +00:00
he 488e14a7ad Undefine the 17 macros commonly defined by <ufs/ffs/fs.h> and
<ufs/lfs/lfs.h> before including the second of them, and also after
including the second, to ensure the rest of the code doesn't depend
on their (ambigious) definition.

This fixes a build problem for vax; gcc 2.95.3's preprocessor
apparently doesn't like redefinition of macros.

Discussed with xtraeme.
2005-08-09 12:59:29 +00:00
rpaulo dc2f26bcaa Enable WARNS=3 and pass lint(1).
ok christos@
2005-08-09 09:15:23 +00:00