]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoSet LC_ALL=C in order to avoid problems with character ranges and
cperciva [Sat, 21 Oct 2006 11:04:34 +0000 (11:04 +0000)]
Set LC_ALL=C in order to avoid problems with character ranges and
sorting.

PR: bin/104505
MFC after: 3 days

17 years agoThe vm.zone sysctl has gone; zone stats are now supplied by libmemstat(3).
ru [Sat, 21 Oct 2006 10:40:12 +0000 (10:40 +0000)]
The vm.zone sysctl has gone; zone stats are now supplied by libmemstat(3).

17 years ago- Add comma after REQUESTS field missed in previous commit.
ru [Sat, 21 Oct 2006 10:16:26 +0000 (10:16 +0000)]
- Add comma after REQUESTS field missed in previous commit.
- Widen some columns; make width of header columns less cryptic.

17 years agoFix error in rev. 1.68. The intention was to break out the switch(){},
glebius [Sat, 21 Oct 2006 09:44:02 +0000 (09:44 +0000)]
Fix error in rev. 1.68. The intention was to break out the switch(){},
but actually exited from the for(){} loop. This fixes the PPPIOCSCOMPRESS
ioctl.

PR: kern/101333
Submitted by: Igor Popov <igorpopov newmail.ru>

17 years agoPrint the number of allocation failures in UMA zones.
glebius [Sat, 21 Oct 2006 09:08:35 +0000 (09:08 +0000)]
Print the number of allocation failures in UMA zones.

PR: kern/102940

17 years agoFake the link count until we have no choice but to load data from the
trhodes [Sat, 21 Oct 2006 08:17:17 +0000 (08:17 +0000)]
Fake the link count until we have no choice but to load data from the
MFT.

PR: 86965
Submitted by: Lowell Gilbert <lgfbsd@be-well.ilk.org>

17 years agoBe more like the BGE driver. Ensure that at least 16 TX descriptors are
scottl [Sat, 21 Oct 2006 07:54:39 +0000 (07:54 +0000)]
Be more like the BGE driver.  Ensure that at least 16 TX descriptors are
kept unused in the ring.  This check should probably be moved up to
bce_start_locked at some point, as it'll make the loop up there slightly
more efficient, and will eliminate a costly set of busdma operations when
the ring is full.  But this works for now.

This makes all of my UDP torture tests work.  I'll cautiously say that
it might even work for other users now.  Feedback is appreciated.

17 years agostyle(9) cleanup.
kevlo [Sat, 21 Oct 2006 04:25:00 +0000 (04:25 +0000)]
style(9) cleanup.

Approved by: cognet

17 years agoFix whitespace
scottl [Sat, 21 Oct 2006 04:13:20 +0000 (04:13 +0000)]
Fix whitespace

17 years agoOk I am an idiot. On 32 bits big-endian systems, it is needed to handle the
cognet [Sat, 21 Oct 2006 00:46:56 +0000 (00:46 +0000)]
Ok I am an idiot. On 32 bits big-endian systems, it is needed to handle the
syscalls using __syscall but only actually returning 32bits, such as mmap(),
specially : they set the return value in td->td_retval[0], but the userland
functions will expect this in r1, and not in r0 as it is normally done, as it
is the LSB. So add a special case for all these syscalls (all except lseek,
which truly returns 64bits).

Many thanks to Peter Grehan for his patience while explaining me the issue.

17 years agorevert last change.. premature.. need to wait until if_ethersubr.c
julian [Sat, 21 Oct 2006 00:16:31 +0000 (00:16 +0000)]
revert last change.. premature.. need to wait until if_ethersubr.c
uses pfil to get to ipfw.

17 years agoUse __QUAD_LOWWORD for __syscall, to always use the good word, whatever the
cognet [Fri, 20 Oct 2006 22:40:31 +0000 (22:40 +0000)]
Use __QUAD_LOWWORD for __syscall, to always use the good word, whatever the
endianness is.

17 years agofix tab indentation for CP and RV...
jmg [Fri, 20 Oct 2006 21:28:11 +0000 (21:28 +0000)]
fix tab indentation for CP and RV...

If the length is zero, catch this early, instead of making dflen go negative
and letting bad things happen...  We also check to see if RV (checksum) is
0, and handle that has a checksum failure...

Properly handle checksum failures by not processing read-write VPD data,
and removing all the found read-only data...

Tested by: oleg (dflen going negative)

17 years agoMove some variables to a more likely place
julian [Fri, 20 Oct 2006 19:32:08 +0000 (19:32 +0000)]
Move some variables to a more likely place
and remove "temporary" stuff that is not needed any more.

17 years agoVoltaire again.
phk [Fri, 20 Oct 2006 18:12:25 +0000 (18:12 +0000)]
Voltaire again.

17 years agoThere's no fpga.c, so omit it.
imp [Fri, 20 Oct 2006 16:57:30 +0000 (16:57 +0000)]
There's no fpga.c, so omit it.

17 years agoRemove the check that prevented signals from being delivered to exiting
jhb [Fri, 20 Oct 2006 16:19:21 +0000 (16:19 +0000)]
Remove the check that prevented signals from being delivered to exiting
processes.  It was originally added back when support for Linux threads
(and thus shared sigacts objects) was added, but no one knows why.  My
guess is that at some point during the Linux threads patches, the sigacts
object was torn down during exit1(), so this check was added to prevent
a panic for that race.  However, the stuff that was actually committed to
the tree doesn't teardown sigacts until wait() making the above race moot.
Re-allowing signals here lets one interrupt a NFS request during process
teardown (such as closing descriptors) on an interruptible mount.

Requested by: kib (long time ago)
MFC after: 1 week

17 years agoremove libc_r remanent.
davidxu [Fri, 20 Oct 2006 14:15:42 +0000 (14:15 +0000)]
remove libc_r remanent.

17 years agoo '-s' flag was killed in rev. 1.75. Clean getopt(3).
maxim [Fri, 20 Oct 2006 13:10:27 +0000 (13:10 +0000)]
o '-s' flag was killed in rev. 1.75.  Clean getopt(3).

PR: bin/104616
Submitted by: Oliver Fromme
MFC after: 1 week

17 years ago- MFi386: Remove 'device io'.
nyan [Fri, 20 Oct 2006 11:48:46 +0000 (11:48 +0000)]
- MFi386: Remove 'device io'.
- Remove duplicate options.
- 'nomakeoption ATKBD_DFLT_KEYMAP' is not needed anymore.

17 years agoThere's no need to special-case lseek for arm/big-endian.
cognet [Fri, 20 Oct 2006 11:00:03 +0000 (11:00 +0000)]
There's no need to special-case lseek for arm/big-endian.

17 years agoFix a recent regression regarding valid signals.
netchild [Fri, 20 Oct 2006 10:09:40 +0000 (10:09 +0000)]
Fix a recent regression regarding valid signals.

Submitted by: rdivacky

17 years agoMove more MD devices and options out of MI NOTES.
des [Fri, 20 Oct 2006 09:52:27 +0000 (09:52 +0000)]
Move more MD devices and options out of MI NOTES.

17 years agoDon't show debug registers in "show registers". Special registers should
bde [Fri, 20 Oct 2006 09:44:21 +0000 (09:44 +0000)]
Don't show debug registers in "show registers".  Special registers should
be displayed specially, and debug registers are among of the least
interesting special registers (far behind %cr3).  The debug registers
are still accessible as variables and displayed in another bogus place
("show watches").

17 years agoMFp4:
imp [Fri, 20 Oct 2006 09:12:05 +0000 (09:12 +0000)]
MFp4:

Massive update.  The highlights:
o dramatically cut memory usage by writing better, less intertwingled
  code.
o implement booting off mmc/sd cards (sd only tested one at the moment)
o start to split out board specific stuff for boot2.

17 years agoThe VGA_DEBUG option only exists on {amd64,i386,ia64}.
des [Fri, 20 Oct 2006 08:56:26 +0000 (08:56 +0000)]
The VGA_DEBUG option only exists on {amd64,i386,ia64}.
Also remove 'device io' from amd64 NOTES; DEFAULTS takes care of it.

17 years agoUpdate the access and modification times for dev while still holding
kib [Fri, 20 Oct 2006 08:03:42 +0000 (08:03 +0000)]
Update the access and modification times for dev while still holding
thread reference on it.

Reviewed by: tegge
Approved by: pjd (mentor)

17 years agoFix the race between devfs_fp_check and devfs_reclaim. Derefence the
kib [Fri, 20 Oct 2006 07:59:50 +0000 (07:59 +0000)]
Fix the race between devfs_fp_check and devfs_reclaim. Derefence the
vnode' v_rdev and increment the dev threadcount , as well as clear it
(in devfs_reclaim) under the dev_lock().

Reviewed by: tegge
Approved by: pjd (mentor)

17 years agoSort MFILES list
imp [Fri, 20 Oct 2006 07:31:15 +0000 (07:31 +0000)]
Sort MFILES list

Noticed by: ru@

17 years agoMFp4: when passing the transfer up the foodchain, make sure we go up
imp [Fri, 20 Oct 2006 07:11:52 +0000 (07:11 +0000)]
MFp4: when passing the transfer up the foodchain, make sure we go up
the food chain.  devi == NULL is the error condition.  Treat it as such.

17 years agoMFp4: Working SPI driver.
imp [Fri, 20 Oct 2006 07:10:13 +0000 (07:10 +0000)]
MFp4: Working SPI driver.

17 years agoCommit WIP SSC driver, more work is needed here, but it configures
imp [Fri, 20 Oct 2006 07:08:59 +0000 (07:08 +0000)]
Commit WIP SSC driver, more work is needed here, but it configures
things OK.

17 years agoMore register definitions.
imp [Fri, 20 Oct 2006 07:08:15 +0000 (07:08 +0000)]
More register definitions.

17 years agoProgress commit for getting TWI working
imp [Fri, 20 Oct 2006 07:06:39 +0000 (07:06 +0000)]
Progress commit for getting TWI working

17 years agoAdd sysctl to export current state of rmii vs mii configuraiton.
imp [Fri, 20 Oct 2006 07:04:56 +0000 (07:04 +0000)]
Add sysctl to export current state of rmii vs mii configuraiton.
Fix a typo in resource allocation.

17 years agoAdd configuration of the SSC lines for second SSC.
imp [Fri, 20 Oct 2006 07:03:57 +0000 (07:03 +0000)]
Add configuration of the SSC lines for second SSC.

17 years agoAdd mmcbr_if.m and mmcbus_if.m to the mix.
imp [Fri, 20 Oct 2006 06:55:49 +0000 (06:55 +0000)]
Add mmcbr_if.m and mmcbus_if.m to the mix.

17 years agoLoadable modules for mmc (the bus) amd mmcsd (the MMC and SD support
imp [Fri, 20 Oct 2006 06:52:59 +0000 (06:52 +0000)]
Loadable modules for mmc (the bus) amd mmcsd (the MMC and SD support
code).  A little green, so not yet connected to the build.

17 years agoMMC/SD bridge driver (host adapter) for AT91RM9200's MCI interface.
imp [Fri, 20 Oct 2006 06:44:04 +0000 (06:44 +0000)]
MMC/SD bridge driver (host adapter) for AT91RM9200's MCI interface.
This interface also appears in the AT91SAM9260 and '61 as well as the
AVR32 based micros from Atmel.  We don't yet support write protect or
hot-swap in this bridge driver.

17 years agoPreliminary MMC stack. This stack supports SD 1.0 cards only, but
imp [Fri, 20 Oct 2006 06:39:59 +0000 (06:39 +0000)]
Preliminary MMC stack.  This stack supports SD 1.0 cards only, but
should be easily adapted to SD 2.0 (aka SDHC), SDIO, MMC and MMCplus
cards.  At the present time, there's only one bridge driver for the
ARM9 based Atmel AT91RM9200.

17 years agoDocument that jot(1), rs(1), and lam(1) first appeared in 4.2BSD.
cperciva [Fri, 20 Oct 2006 04:31:01 +0000 (04:31 +0000)]
Document that jot(1), rs(1), and lam(1) first appeared in 4.2BSD.

MFC after: 1 month

17 years agoUse TARGET_BIG_ENDIAN instead of ARM_BIG_ENDIAN
cognet [Thu, 19 Oct 2006 22:51:26 +0000 (22:51 +0000)]
Use TARGET_BIG_ENDIAN instead of ARM_BIG_ENDIAN

17 years agoMy previous commit made it impossible to export / over NFS; this small
rink [Thu, 19 Oct 2006 19:46:49 +0000 (19:46 +0000)]
My previous commit made it impossible to export / over NFS; this small
change fixes this.

Reported by: Lin Jui-Nan Eric < ericlin dot jnlin at gmail dot com >
Submitted by: Erik Trulsson < ertr1013 at student dot uu dot se > (commit is inspired by a patch from Erik)
Pointyhat to: me
Reviewed by: stable@
Approved by: imp (mentor)
MFC after: 3 days

17 years ago- Define time_t in sys/sem.h so it doesn't require sys/types.h.
jhb [Thu, 19 Oct 2006 14:36:41 +0000 (14:36 +0000)]
- Define time_t in sys/sem.h so it doesn't require sys/types.h.
- Move the pid_t, size_t, and time_t definitions earlier in the file, sort
  them, and fix whitespace.
- Drop redundant includes of sys/cdefs.h and sys/_types.h as sys/ipc.h
  already includes them.

PR: kern/104436
Reviewed by: bde
Reported by: clsung
MFC after: 3 days

17 years agoAdd missing "const" qualifiers.
ru [Thu, 19 Oct 2006 11:03:44 +0000 (11:03 +0000)]
Add missing "const" qualifiers.

Submitted by: bde

17 years agostyle(9)
obrien [Thu, 19 Oct 2006 10:04:46 +0000 (10:04 +0000)]
style(9)

17 years agostyle(9) cleanup.
obrien [Thu, 19 Oct 2006 10:01:26 +0000 (10:01 +0000)]
style(9) cleanup.

17 years agoThere is no reason to have a PAGE_SIZE alignment enforced on all DMA by the
scottl [Thu, 19 Oct 2006 08:03:22 +0000 (08:03 +0000)]
There is no reason to have a PAGE_SIZE alignment enforced on all DMA by the
parent tag.

17 years agoI can't find any reason why an 8 byte alignment should be enforced on rx
scottl [Thu, 19 Oct 2006 08:01:43 +0000 (08:01 +0000)]
I can't find any reason why an 8 byte alignment should be enforced on rx
and tx buffers.  Fix it there, and also don't have it be overridden by the
parent tag.

17 years ago- convert to the current style of section 4 man pages
danger [Thu, 19 Oct 2006 07:41:47 +0000 (07:41 +0000)]
- convert to the current style of section 4 man pages
- s/ip.forwarding/net.inet.ip.forwarding/ to match reality [1]

Approved by: keramida (mentor), trhodes (mentor)
MFC after: 5 days
Submitted by: Tom McLaughlin via #bsddocs

17 years agoRemove some spurious debugging, and use more complete error handling for
scottl [Thu, 19 Oct 2006 06:58:01 +0000 (06:58 +0000)]
Remove some spurious debugging, and use more complete error handling for
tx load and fragmentation problems.

17 years agoAdd missing acpi_wakecode.o: assym.s dependency, so that if assym.s
ru [Thu, 19 Oct 2006 05:55:09 +0000 (05:55 +0000)]
Add missing acpi_wakecode.o: assym.s dependency, so that if assym.s
is newer than acpi_wakecode.h, the latter is rebuilt.

Reported by: bde

17 years agotweak comments about OLDCARD workarounds
imp [Thu, 19 Oct 2006 05:25:53 +0000 (05:25 +0000)]
tweak comments about OLDCARD workarounds

17 years agotweak comment
imp [Thu, 19 Oct 2006 05:25:29 +0000 (05:25 +0000)]
tweak comment

17 years agoRemove references to pccard.conf, it is no longer used.
imp [Thu, 19 Oct 2006 05:19:00 +0000 (05:19 +0000)]
Remove references to pccard.conf, it is no longer used.

17 years agoRemove references to pccard.conf
imp [Thu, 19 Oct 2006 05:17:55 +0000 (05:17 +0000)]
Remove references to pccard.conf

17 years agoUse a different task queue for host controller and peripheral driver
iedowse [Thu, 19 Oct 2006 01:15:58 +0000 (01:15 +0000)]
Use a different task queue for host controller and peripheral driver
tasks. Since the host controllers rely on tasks to process transfer
timeouts, if a synchronous transfer from a driver was invoked from
a task and timed out, it would never complete because the single
task thread was stuck performing the synchronous transfer so couldn't
process the timeout.

This affected the axe, udav and ural drivers.

Problem hardware provided by: guido

17 years agoFix previous revision:
marcel [Thu, 19 Oct 2006 00:53:35 +0000 (00:53 +0000)]
Fix previous revision:
o  day and mday are the same. No need to subtract 1 from mday.
o  Set dow to -1 as clock_ct_to_ts() checks this field and
   returns EINVAL on any day of the week but Sunday.

17 years agoPackage the dumpcisfile functionality into a new dumpcis command.
imp [Wed, 18 Oct 2006 21:09:43 +0000 (21:09 +0000)]
Package the dumpcisfile functionality into a new dumpcis command.
Also, don't build pccardc now.  I've left it in place for people that
wish to build it to test experimental support for oldcard
functionality that may have been lost in newcard.

17 years agoDelete now-unused portion of pccardd. OLDCARD is gone from the kernel.
imp [Wed, 18 Oct 2006 20:48:05 +0000 (20:48 +0000)]
Delete now-unused portion of pccardd.  OLDCARD is gone from the kernel.

17 years agoAlways build pccardc.
imp [Wed, 18 Oct 2006 19:56:41 +0000 (19:56 +0000)]
Always build pccardc.

# I should remove the oldcard vestages from it...

17 years agoFix remaining compile error.
grehan [Wed, 18 Oct 2006 19:56:20 +0000 (19:56 +0000)]
Fix remaining compile error.

17 years agoAdd 'reload' to the list of available commands for the amd rc.d script.
flz [Wed, 18 Oct 2006 15:56:11 +0000 (15:56 +0000)]
Add 'reload' to the list of available commands for the amd rc.d script.

PR: conf/104507
Submitted by: Douglas K. Rand <rand@meridian-enviro.com>
MFC after: 3 days

17 years agoo Backout rev. 1.55. Don't waste cpu cycles for bzero(), do not
maxim [Wed, 18 Oct 2006 13:16:06 +0000 (13:16 +0000)]
o Backout rev. 1.55.  Don't waste cpu cycles for bzero(), do not
call chflags() for whiteouted files.

Prodded by: ru

17 years agoNormalize MAN.
ru [Wed, 18 Oct 2006 12:35:24 +0000 (12:35 +0000)]
Normalize MAN.

17 years agoProperly lock the vnode around vgone() calls.
kib [Wed, 18 Oct 2006 11:17:14 +0000 (11:17 +0000)]
Properly lock the vnode around vgone() calls.

Unlock the vnode in devfs_close() while calling into the driver d_close()
routine.

devfs_revoke() changes by: ups
Reviewed and bugfixes by: tegge
Tested by: mbr, Peter Holm
Approved by: pjd (mentor)
MFC after: 1 week

17 years agoAvoid a spurious warning for each whiteout found during "ls -lW".
ru [Wed, 18 Oct 2006 10:58:27 +0000 (10:58 +0000)]
Avoid a spurious warning for each whiteout found during "ls -lW".

# ls -lW
total 2
-rw-r--r--  1 root  wheel  6 Oct 18 14:46 file1
ls: ./file2: No such file or directory
w---------  0 root  wheel  0 Jan  1  1970 file2

17 years agoUpdate for newsletter V-12: Inclusion of the new entries for
ru [Wed, 18 Oct 2006 09:02:11 +0000 (09:02 +0000)]
Update for newsletter V-12: Inclusion of the new entries for
"Serbia" and "Montenegro".

Reported by: mnag

17 years agoo Zero out struct stat before usage. lstat(2) can fail and
maxim [Wed, 18 Oct 2006 08:22:33 +0000 (08:22 +0000)]
o Zero out struct stat before usage.  lstat(2) can fail and
leave garbage there which will break -W code path.

PR: bin/84569
Submitted by: Igor
MFC after: 2 weeks

17 years agoCheck pointer before dereferencing.
glebius [Wed, 18 Oct 2006 07:47:07 +0000 (07:47 +0000)]
Check pointer before dereferencing.

Reported by: Coverity
CID: 1556

17 years agokern_intr.c:
bde [Wed, 18 Oct 2006 04:48:09 +0000 (04:48 +0000)]
kern_intr.c:
- Count (scheduling of) software interrupts (SWIs) as SWIs, not as
  hardware interrupts.
- Don't count (scheduling of) delayed SWIs as interrupts at all, since
  in the delayed case it is expected that there are many more scheduling
  calls than handling calls.  Perhaps all interrupts should be counted
  only when they are handled, but it is only counts of delayed SWIs that
  shouldn never be combined with the other counts.

subr_trap.c:
- Count (handling of) Asynchronous System Traps (ASTs) as traps, not as
  software interrupts.

Before these changes, the counter for SWIs only counted ASTs, and SWIs
weren't counted separately, but a subcounter for ASTs alone is less
needed than for most other exception sources.

4.4BSD-Lite uses the counters for similar things (actually matching
their names) on its main arches (hp300, ..., !i386) where more of the
exceptions are in hardware.

17 years agoAttempt to fix compiling problem.
davidxu [Wed, 18 Oct 2006 02:09:46 +0000 (02:09 +0000)]
Attempt to fix compiling problem.

Noticed by: tinderbox

17 years agoFixed some style bugs (especially ones involving long lines and use
bde [Tue, 17 Oct 2006 22:07:07 +0000 (22:07 +0000)]
Fixed some style bugs (especially ones involving long lines and use
of __P(())).  There are many more.

17 years agoCollapse the two identical emu10k1-alsa%diked.h creation rules for
imp [Tue, 17 Oct 2006 18:08:04 +0000 (18:08 +0000)]
Collapse the two identical emu10k1-alsa%diked.h creation rules for
snd_emu10k1 and snd_emu10kx into one line.  The 'pci' dependency here
adds no value, so I eliminted it (we don't have a snd.all file that
might make it mildly useful, and even then it wouldn't be that
useful).  With the pci optional component eliminated, I could use the
'|' operator.  I could have also include pci on both sides of the |
operator, but since it isn't a value add at all, it was better to
eliminate it.

17 years agoInclude sys/socket.h to know about sa_family_t.
glebius [Tue, 17 Oct 2006 16:56:29 +0000 (16:56 +0000)]
Include sys/socket.h to know about sa_family_t.

17 years agoSome clenaup of ngs_rcvmsg():
glebius [Tue, 17 Oct 2006 16:52:09 +0000 (16:52 +0000)]
Some clenaup of ngs_rcvmsg():
  - Inline ship_msg() into ngs_rcvmsg().
  - Plug memory leak in case if no control socket present.
  - Remove malloc() and allocate the sockaddr on stack.
  - style(9).

17 years agoFix a driver bug which could result in frames MHLEN or (MHLEN - 1) bytes
gallatin [Tue, 17 Oct 2006 14:39:19 +0000 (14:39 +0000)]
Fix a driver bug which could result in frames MHLEN or (MHLEN - 1) bytes
long being DMA'ed 2 (or 1) bytes past the end of the mbuf and corrupting
random kernel memory.  I had forgotten about the 2 bytes of implict
padding the firmware assumes.

Sponsored by: Myricom Inc.

17 years agoRemove security/freebsd-update from package split; it's now in the
bmah [Tue, 17 Oct 2006 13:50:22 +0000 (13:50 +0000)]
Remove security/freebsd-update from package split; it's now in the
base system.

Pointed out by: kris

17 years agoSome cleanup and small changes:
glebius [Tue, 17 Oct 2006 12:21:48 +0000 (12:21 +0000)]
Some cleanup and small changes:
  - Use malloc() and free() instead of MALLOC() and FREE() macros.
  - Do not check malloc results if M_WAITOK was used.
  - Remove linked list of all netgraph sockets. It isn't needed.
  - Use ng_findhook() instead of searching the list ourselves.
  - Use NG_WAITOK in syscalls.
  - Remove unneeded includes.
  - style(9)

17 years agoMake the sg_len and sg_family members of the sockaddr_ng the same type
glebius [Tue, 17 Oct 2006 11:03:55 +0000 (11:03 +0000)]
Make the sg_len and sg_family members of the sockaddr_ng the same type
as the corresponding values in sockaddr are.

17 years agoMake ng_ID_t fixed size, so that its maximum value is platform independent.
glebius [Tue, 17 Oct 2006 11:01:20 +0000 (11:01 +0000)]
Make ng_ID_t fixed size, so that its maximum value is platform independent.
This will be important in future.

17 years ago- ng_address_ID() has already freed the message, don't do double free.
glebius [Tue, 17 Oct 2006 10:59:39 +0000 (10:59 +0000)]
- ng_address_ID() has already freed the message, don't do double free.
- Get error from ng_address_ID().

Reported by: Coverity via pjd

17 years agoOlder incarnations of the device used non-standard BARs.
ru [Tue, 17 Oct 2006 10:26:11 +0000 (10:26 +0000)]
Older incarnations of the device used non-standard BARs.

Reported by: Andriy Gapon
Confirmed by: many (including lm-sensors-2.10.1)
MFC after: 3 days

17 years agoConvert types 'Elf{32,64}_Nhdr' into aliases of the generic 'Elf_Note'
jkoshy [Tue, 17 Oct 2006 05:43:30 +0000 (05:43 +0000)]
Convert types 'Elf{32,64}_Nhdr' into aliases of the generic 'Elf_Note'
type.

Reviewed by: jb

17 years agoComment out a debug entry which doesn't compile. Needed to fix LINT.
jb [Tue, 17 Oct 2006 03:53:38 +0000 (03:53 +0000)]
Comment out a debug entry which doesn't compile. Needed to fix LINT.

17 years agorename casuptr to casuword.
davidxu [Tue, 17 Oct 2006 03:05:17 +0000 (03:05 +0000)]
rename casuptr to casuword.

17 years agoRegenerate.
davidxu [Tue, 17 Oct 2006 02:28:58 +0000 (02:28 +0000)]
Regenerate.

17 years agoSync with master.
davidxu [Tue, 17 Oct 2006 02:28:26 +0000 (02:28 +0000)]
Sync with master.

17 years agoo Add keyword volatile for user mutex owner field.
davidxu [Tue, 17 Oct 2006 02:24:47 +0000 (02:24 +0000)]
o Add keyword volatile for user mutex owner field.
o Fix type consistent problem by using type long for old
  umtx and wait channel.
o Rename casuptr to casuword.

17 years agoAdd sun4v to the 'universe'.
jb [Mon, 16 Oct 2006 22:18:59 +0000 (22:18 +0000)]
Add sun4v to the 'universe'.

17 years agoAdd sun4v to the TARGET_ARCH when just TARGET is set (like pc98 is done).
jb [Mon, 16 Oct 2006 22:18:13 +0000 (22:18 +0000)]
Add sun4v to the TARGET_ARCH when just TARGET is set (like pc98 is done).

This is required for 'make universe'.

17 years agoIn sun4v, use the sparc64 version. We haven't used the serial port on
jb [Mon, 16 Oct 2006 22:11:53 +0000 (22:11 +0000)]
In sun4v, use the sparc64 version. We haven't used the serial port on
sun4v yet, so this is a 'best-guess'.

17 years agoAdd a .PATH entry to search for sources in the ${MACHINE}/${MACHINE}
jb [Mon, 16 Oct 2006 22:09:48 +0000 (22:09 +0000)]
Add a .PATH entry to search for sources in the ${MACHINE}/${MACHINE}
directory before the ${MACHINE_ARCH}/${MACHINE_ARCH} directory so that
machine-specific files take precedence of architecture-specific ones.

This fixes the build on sun4v which doesn't use the sparc64 version
of mem.c.

Tested by: make universe

17 years agoComment out 'device isa'.
jb [Mon, 16 Oct 2006 22:06:59 +0000 (22:06 +0000)]
Comment out 'device isa'.

Add a lot of nodevice entries for things that depend on isa, kbd and
other PC-centric things.

17 years agoAdd one more include to fix the case of !DDB and !atpic.
jhb [Mon, 16 Oct 2006 21:40:46 +0000 (21:40 +0000)]
Add one more include to fix the case of !DDB and !atpic.

17 years agoCorrect the WOL magic value.
obrien [Mon, 16 Oct 2006 20:33:23 +0000 (20:33 +0000)]
Correct the WOL magic value.

Submitted by: Peer Chen at nVIDIA

17 years agoTrim trailing whitespace.
jhb [Mon, 16 Oct 2006 20:07:23 +0000 (20:07 +0000)]
Trim trailing whitespace.

17 years agoRestore the 'proc' and 'tid' commands which allow one to switch to the
jhb [Mon, 16 Oct 2006 20:06:32 +0000 (20:06 +0000)]
Restore the 'proc' and 'tid' commands which allow one to switch to the
first thread in a process or to a specific thread via PIDs and TIDs,
respectively.

Submitted by: kan
Approved by: marcel

17 years agoTry to be more precise in identifying the various nForce networking adapters.
obrien [Mon, 16 Oct 2006 16:36:29 +0000 (16:36 +0000)]
Try to be more precise in identifying the various nForce networking adapters.

17 years ago- Inverted EAPD quirk for ASUS A8Jc.
ariff [Mon, 16 Oct 2006 14:43:22 +0000 (14:43 +0000)]
- Inverted EAPD quirk for ASUS A8Jc.
- Take the literal meaning of eapdbtl, but do the inversion during
  write.

Tested by: Chung-liang Wei <idreamer@gmail.com>