dragonfly.git
17 years agoAdd NATA devices to LINT, and hook the natacontrol binary into the build,
Thomas E. Spanjaard [Tue, 20 Feb 2007 15:58:27 +0000 (15:58 +0000)]
Add NATA devices to LINT, and hook the natacontrol binary into the build,
as it does no harm even when not using NATA.

Prodded-by: Justin C. Sherrill <justin@shiningsilence.com>
Sascha Wildner <saw@online.de>

17 years agoFix typo.
Sascha Wildner [Tue, 20 Feb 2007 15:52:43 +0000 (15:52 +0000)]
Fix typo.

17 years agoDon't assume mgtq will always be empty, drain mgtq explicitly.
Sepherosa Ziehau [Tue, 20 Feb 2007 14:24:21 +0000 (14:24 +0000)]
Don't assume mgtq will always be empty, drain mgtq explicitly.

Tested-by: Johannes Hofmann <Johannes.Hofmann@gmx.de> (iwi(4))
17 years agoFix typos.
Sascha Wildner [Mon, 19 Feb 2007 11:10:12 +0000 (11:10 +0000)]
Fix typos.

17 years agoDo some syncing with reality.
Sascha Wildner [Mon, 19 Feb 2007 09:34:33 +0000 (09:34 +0000)]
Do some syncing with reality.

17 years agoSilence compiler warning.
Simon Schubert [Mon, 19 Feb 2007 01:14:54 +0000 (01:14 +0000)]
Silence compiler warning.

17 years agoRemove outdated comment.
Simon Schubert [Mon, 19 Feb 2007 01:14:40 +0000 (01:14 +0000)]
Remove outdated comment.

17 years ago1:1 Userland threading stage 2.18/4:
Simon Schubert [Mon, 19 Feb 2007 01:14:24 +0000 (01:14 +0000)]
1:1 Userland threading stage 2.18/4:

Push lwp use a bit further by making some places lwp aware.
This commit deals with ddb, procfs/ptrace and various consumers of
allproc_scan.

17 years agoRemove unused malloc type M_ACL.
Sascha Wildner [Mon, 19 Feb 2007 00:51:54 +0000 (00:51 +0000)]
Remove unused malloc type M_ACL.

17 years agoBuild gcc41 per default. This can be disabled with NO_GCC41 in make.conf.
Simon Schubert [Sun, 18 Feb 2007 23:46:11 +0000 (23:46 +0000)]
Build gcc41 per default. This can be disabled with NO_GCC41 in make.conf.

This does not make gcc41 the default compiler.  To do so, you still have to
set CCVER=gcc41 in make.conf or in your environment.

17 years ago1:1 Userland threading stage 2.17/4:
Simon Schubert [Sun, 18 Feb 2007 16:17:09 +0000 (16:17 +0000)]
1:1 Userland threading stage 2.17/4:

Consolidate consumers of p_lock to use PHOLD/PRELE.  Introduce lwp_lock,
which will be used like p_lock as a "don't destruct" marker.

17 years ago1:1 Userland threading stage 2.16/4:
Simon Schubert [Sun, 18 Feb 2007 16:16:11 +0000 (16:16 +0000)]
1:1 Userland threading stage 2.16/4:

Move P_ONRUNQ to lwp_flag.

17 years ago1:1 Userland threading stage 2.15/4:
Simon Schubert [Sun, 18 Feb 2007 16:15:24 +0000 (16:15 +0000)]
1:1 Userland threading stage 2.15/4:

Drop P_ZOMBIE and make SZOMB a real state again.

17 years ago1:1 Userland threading stage 2.14/4:
Simon Schubert [Sun, 18 Feb 2007 16:13:27 +0000 (16:13 +0000)]
1:1 Userland threading stage 2.14/4:

Extend select to be usable for multiple LWPs in one proc.

17 years ago1:1 Userland threading stage 2.13/4:
Simon Schubert [Sun, 18 Feb 2007 16:12:43 +0000 (16:12 +0000)]
1:1 Userland threading stage 2.13/4:

Move P_SINTR and P_BREAKTSLEEP into lwp_flag.

Introduce proc_stop and proc_unstop to handle the transition of a complete proc
to and from stopped state.  This is influenced by NetBSD.

17 years agoRe-order #includes to silence warning and use inline version of ``ffs''.
Simon Schubert [Sun, 18 Feb 2007 14:28:18 +0000 (14:28 +0000)]
Re-order #includes to silence warning and use inline version of ``ffs''.

17 years ago* Add .Nm and MLINKS for BIOS_* macros.
Sascha Wildner [Sun, 18 Feb 2007 14:17:29 +0000 (14:17 +0000)]
* Add .Nm and MLINKS for BIOS_* macros.

* Enhance markup a bit.

17 years agoFix typo.
Sascha Wildner [Sun, 18 Feb 2007 09:09:43 +0000 (09:09 +0000)]
Fix typo.

17 years agoRemove unused variable.
Sascha Wildner [Sun, 18 Feb 2007 07:12:19 +0000 (07:12 +0000)]
Remove unused variable.

17 years agoUncomment NULLFS which was fixed by Matt some while ago.
Sascha Wildner [Sat, 17 Feb 2007 09:53:22 +0000 (09:53 +0000)]
Uncomment NULLFS which was fixed by Matt some while ago.

Submitted-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
17 years ago- Nuke no longer needed macros.
Sepherosa Ziehau [Sat, 17 Feb 2007 07:05:54 +0000 (07:05 +0000)]
- Nuke no longer needed macros.
- Use ieee80211_tim_ie, instead of local TIM ie definition.
- It turns out TIM template can contain more ies than I expected --
  It is safe to put Exteneded Rate, WPA, RSN and WME ies into TIM template,
  thus duplicated TIM ie in infrastructure BSS's beacon frames can be
  eliminated:
  o  Move TIM template setup from template initalization routine to beacon
     template setup routine.
  o  Use ies' location information provided by ieee80211_beacon_offset to put
     all fixed fields and ies before TIM ie into beacon template.  Ies starting
     from TIM ie are put into TIM template.

17 years agoUpdate to gcc-4.1.2.
Simon Schubert [Sat, 17 Feb 2007 02:24:20 +0000 (02:24 +0000)]
Update to gcc-4.1.2.

17 years agoUpdate our README.
Simon Schubert [Sat, 17 Feb 2007 02:23:58 +0000 (02:23 +0000)]
Update our README.

17 years agoMerge from vendor branch GCC:
Simon Schubert [Sat, 17 Feb 2007 02:23:28 +0000 (02:23 +0000)]
Merge from vendor branch GCC:
Import gcc-4.1.2.

17 years agoImport gcc-4.1.2.
Simon Schubert [Sat, 17 Feb 2007 02:23:28 +0000 (02:23 +0000)]
Import gcc-4.1.2.

17 years agoAdd a missing header that prevents detecting the kernel is compiled with INET6 support
Victor Balada Diaz [Fri, 16 Feb 2007 23:41:02 +0000 (23:41 +0000)]
Add a missing header that prevents detecting the kernel is compiled with INET6 support

Noticed-by: corecode@
17 years ago1:1 Userland threading stage 2.12/4:
Simon Schubert [Fri, 16 Feb 2007 23:11:40 +0000 (23:11 +0000)]
1:1 Userland threading stage 2.12/4:

Factor out lwp_stat and move P_STOPPED into p_stat.

Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>
17 years agoDocument and correctly name fields.
Simon Schubert [Fri, 16 Feb 2007 12:45:12 +0000 (12:45 +0000)]
Document and correctly name fields.

Sig now is the pending signals for a process, tsig the pending signals
for a lwp.

Remove non-existing fields from the documentation.

Prodded-by: swildner@
17 years ago- Clean up device header file inclusion.
Sepherosa Ziehau [Fri, 16 Feb 2007 11:46:47 +0000 (11:46 +0000)]
- Clean up device header file inclusion.
- Move device sysctl creation before ieee80211_ifattach(), so if
  the creation fails, there is no need to call ieee80211_ifdetach()
  before calling acx_detach().
- Add radio tap support.  acx100 part does not work correctly if
  privacy is used, mainly due to firmware decrytion.  Also acx100
  part does not seem to be able to differentiate long preamble frames
  from short preamble ones.

17 years agoAdd ieee80211_plcp2rate() to convert PLCP signal/rate to net80211 rate.
Sepherosa Ziehau [Fri, 16 Feb 2007 11:17:01 +0000 (11:17 +0000)]
Add ieee80211_plcp2rate() to convert PLCP signal/rate to net80211 rate.
This function returns 0 if unrecognized PLCP signal/rate is passed.

17 years agoFix path.
Sascha Wildner [Fri, 16 Feb 2007 10:11:46 +0000 (10:11 +0000)]
Fix path.

Noticed-by: Andreas Hauser
17 years ago- Factor out acx_set_chan(), nuke ACX_ENABLE_{TX,RX}CHAN() macros.
Sepherosa Ziehau [Fri, 16 Feb 2007 06:34:10 +0000 (06:34 +0000)]
- Factor out acx_set_chan(), nuke ACX_ENABLE_{TX,RX}CHAN() macros.
- Rework acx_newstate() to avoid code duplication.
- Regroup function declarations.
- Nuke no longer needed code in acx_next_scan()
- Nuke declaration of acx_beacon_intvl, it has already gone.

17 years agoFix RSS display by calculating the correct value.
Simon Schubert [Fri, 16 Feb 2007 02:15:25 +0000 (02:15 +0000)]
Fix RSS display by calculating the correct value.

For some reason vmspace->vm_rssize is always zero, so we have to
"calculate" the value via vmspace_resident_count(), which actually
accesses the vmspace's pmap resident count.

Reported-by: victor@
17 years agoMerge from vendor branch BIND:
Victor Balada Diaz [Thu, 15 Feb 2007 21:18:25 +0000 (21:18 +0000)]
Merge from vendor branch BIND:
update the readme files for bind-9.3.4 import

17 years agoupdate the readme files for bind-9.3.4 import
Victor Balada Diaz [Thu, 15 Feb 2007 21:18:25 +0000 (21:18 +0000)]
update the readme files for bind-9.3.4 import

17 years agoMerge from vendor branch BIND:
Victor Balada Diaz [Thu, 15 Feb 2007 21:03:46 +0000 (21:03 +0000)]
Merge from vendor branch BIND:
Import bind-9.3.4

17 years agoImport bind-9.3.4
Victor Balada Diaz [Thu, 15 Feb 2007 21:03:46 +0000 (21:03 +0000)]
Import bind-9.3.4

17 years agoImport bind-9.3.4
Victor Balada Diaz [Thu, 15 Feb 2007 20:28:50 +0000 (20:28 +0000)]
Import bind-9.3.4

17 years agoThe KAME project has been dissolved and kame.4 isn't terribly useful.
Sascha Wildner [Thu, 15 Feb 2007 09:20:57 +0000 (09:20 +0000)]
The KAME project has been dissolved and kame.4 isn't terribly useful.

Taken-from: FreeBSD

17 years ago- Add 'chan' parameter for acx_join_bss(), since for Monitor operational mode
Sepherosa Ziehau [Thu, 15 Feb 2007 09:05:11 +0000 (09:05 +0000)]
- Add 'chan' parameter for acx_join_bss(), since for Monitor operational mode
  current channel is not pointed by ieee80211com.ic_bss.ni_chan.
- Factor out acx_rx_config() from acx_write_config().
- Add Monitor operational mode support.
- Correct promisc support.
- On TX path:
  o  Move BPF_MTAP() before ieee80211_encap(), so ether frames will be tapped.
  o  Tap 802.11 MAC frames to ieee80211com.ic_rawbpf before they are encrypted.
- On RX path:
  o  Tap ACK/CTS to ieee80211com.ic_rawbpf.
  o  For non-Monitor operational mode, update ieee80211_stats.is_rx_tooshort,
     if frames are too short.
- Nuke unused functions.

17 years agoPCIe re(4) can't handle TCP csum offloading well if short packets
Sepherosa Ziehau [Wed, 14 Feb 2007 13:00:34 +0000 (13:00 +0000)]
PCIe re(4) can't handle TCP csum offloading well if short packets
are padded by the driver, which is intended to fix PCI re(4) csum
offloading bug.  It turns out both PCI and PCIe re(4) _can_ handle
short packets TCP csum offloading without driver's interferece, so
padding for short TCP packets is avoided.

Obtained-from: FreeBSD (wpaul@freebsd.org)
Tested-by: Joe Talbott <josepht@cstone.net> RTL8101E(PCIe)
   me RTL8169S(PCI) RTL8169SB(PCI)

17 years agoReclaim challenge text, if we operate as an AP and other side switches auth mode
Sepherosa Ziehau [Tue, 13 Feb 2007 14:15:57 +0000 (14:15 +0000)]
Reclaim challenge text, if we operate as an AP and other side switches auth mode

Obtained-from: Atheros via FreeBSD (sam@freebsd.org)

17 years ago- Replace 0 with NULL when pointers are tested.
Sepherosa Ziehau [Mon, 12 Feb 2007 15:02:33 +0000 (15:02 +0000)]
- Replace 0 with NULL when pointers are tested.
- Break long line.
- Style(9) for 'if' statement.
- Correct bpf_freed() function comment.

17 years agoSync zoneinfo database with tzdata2007b from elsie.
Sascha Wildner [Mon, 12 Feb 2007 14:54:39 +0000 (14:54 +0000)]
Sync zoneinfo database with tzdata2007b from elsie.

leapseconds:    8.1 -> 8.2

Change the commentary to reflect the IERS announcement that there is to be
no positive leap second at the end of June 2007.

17 years ago- Prefer m_getl()
Sepherosa Ziehau [Mon, 12 Feb 2007 14:05:13 +0000 (14:05 +0000)]
- Prefer m_getl()
- Nuke blank line

17 years ago- Rename reset_d() to bpf_resetd() just like other function which operates
Sepherosa Ziehau [Sun, 11 Feb 2007 12:10:04 +0000 (12:10 +0000)]
- Rename reset_d() to bpf_resetd() just like other function which operates
  on bpf_d
- Use m_lengthm()
- Nuke tab on blank line

17 years agoIn bpf_ptap(), duplicate incoming mbuf's m_pkthdr.rcvif, so !bpf_d.bd_seesent
Sepherosa Ziehau [Sun, 11 Feb 2007 11:30:05 +0000 (11:30 +0000)]
In bpf_ptap(), duplicate incoming mbuf's m_pkthdr.rcvif, so !bpf_d.bd_seesent
will be handled correctly in bpf_mtap().

17 years agokmalloc(M_WAITOK) will not return NULL
Sepherosa Ziehau [Sun, 11 Feb 2007 10:23:29 +0000 (10:23 +0000)]
kmalloc(M_WAITOK) will not return NULL

17 years agoRemove ancient SimOS support.
Sascha Wildner [Sun, 11 Feb 2007 01:51:28 +0000 (01:51 +0000)]
Remove ancient SimOS support.

17 years agoFix function name.
Sascha Wildner [Sun, 11 Feb 2007 01:07:19 +0000 (01:07 +0000)]
Fix function name.

getosreldate(3) should probably be nuked entirely.

17 years agoFix function names.
Sascha Wildner [Sun, 11 Feb 2007 00:47:01 +0000 (00:47 +0000)]
Fix function names.

17 years agoRemove MCHTYPE() documentation (removed in rev. 1.14 of sys/sys/mbuf.h).
Sascha Wildner [Sun, 11 Feb 2007 00:13:18 +0000 (00:13 +0000)]
Remove MCHTYPE() documentation (removed in rev. 1.14 of sys/sys/mbuf.h).

17 years agoRemove documentation of extinct macro MULTI_DRIVER_MODULE() (nuked in
Sascha Wildner [Sat, 10 Feb 2007 23:54:18 +0000 (23:54 +0000)]
Remove documentation of extinct macro MULTI_DRIVER_MODULE() (nuked in
rev. 1.11 of sys/sys/bus.h).

17 years agoFix typo: cgetseq -> cgetset
Sascha Wildner [Sat, 10 Feb 2007 21:04:12 +0000 (21:04 +0000)]
Fix typo: cgetseq -> cgetset

17 years agoRemove documentation of the recently removed fuswintr() and suswintr()
Sascha Wildner [Sat, 10 Feb 2007 20:46:36 +0000 (20:46 +0000)]
Remove documentation of the recently removed fuswintr() and suswintr()
functions.

17 years ago- Move vke_softc.sc_kqueue initialization from vke_start() into vke_init()
Sepherosa Ziehau [Sat, 10 Feb 2007 11:32:39 +0000 (11:32 +0000)]
- Move vke_softc.sc_kqueue initialization from vke_start() into vke_init()
- Add missing BPF_MTAP() in vke_start()

17 years agoDescribe new added rum(4) ids.
Sepherosa Ziehau [Sat, 10 Feb 2007 07:03:45 +0000 (07:03 +0000)]
Describe new added rum(4) ids.

Obtained-from: OpenBSD

17 years agoAdd more ids
Sepherosa Ziehau [Sat, 10 Feb 2007 05:45:12 +0000 (05:45 +0000)]
Add more ids

Obtained-from: OpenBSD

17 years agoregen
Sepherosa Ziehau [Sat, 10 Feb 2007 05:44:19 +0000 (05:44 +0000)]
regen

17 years agoMore rum(4) ids
Sepherosa Ziehau [Sat, 10 Feb 2007 05:43:08 +0000 (05:43 +0000)]
More rum(4) ids

17 years agoAvoid possible mbuf re-tap on error path.
Sepherosa Ziehau [Fri, 9 Feb 2007 11:31:41 +0000 (11:31 +0000)]
Avoid possible mbuf re-tap on error path.

17 years agoMisc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free ->
Thomas E. Spanjaard [Thu, 8 Feb 2007 21:48:24 +0000 (21:48 +0000)]
Misc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free ->
kmalloc/kfree, M_NOWAIT -> M_WAITOK, and various bugfixes and warnings
fixes. Note, that this hasn't been tested in actual operation, that's
something for next week when I have the time + hardware.

17 years agoConvert RX buffer signal level to relative RX signal strength (relative to
Sepherosa Ziehau [Thu, 8 Feb 2007 15:39:39 +0000 (15:39 +0000)]
Convert RX buffer signal level to relative RX signal strength (relative to
noise floor).

The conversion for acx100 part is based on Linux acx100 driver.
The conversion for acx111 part is worked out by comparing RSSI of ath(4)/ral(4)
under the same conditions with the acx(4) RX buffer signal level.

17 years agoUse proc flags instead of lwp flags.
Simon Schubert [Thu, 8 Feb 2007 10:18:21 +0000 (10:18 +0000)]
Use proc flags instead of lwp flags.

Noticed-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
17 years agoUse a new pkgsrc bootstrap to work with recent tar changes.
Simon Schubert [Wed, 7 Feb 2007 16:35:25 +0000 (16:35 +0000)]
Use a new pkgsrc bootstrap to work with recent tar changes.

17 years agoDo not create /var/db/pkg, pkgsrc bootstrap doesn't like it.
Simon Schubert [Wed, 7 Feb 2007 16:34:32 +0000 (16:34 +0000)]
Do not create /var/db/pkg, pkgsrc bootstrap doesn't like it.

17 years agoConvert RX desc's rssi field to relative RX signal strength (relative to
Sepherosa Ziehau [Wed, 7 Feb 2007 14:52:42 +0000 (14:52 +0000)]
Convert RX desc's rssi field to relative RX signal strength (relative to
noise floor).

The conversion for Maxim, Philips and GCT RF are adapted from Realtek's
818x Linux driver.

17 years agoFor rum(4) and rt2661 part of ral(4):
Sepherosa Ziehau [Wed, 7 Feb 2007 12:34:26 +0000 (12:34 +0000)]
For rum(4) and rt2661 part of ral(4):
Return -1 in {rum,rt2661}_get_rssi(), if rssi can't be converted to relative
RX signal strength.  Caller of these two functions will detect the conversion
error and use old rssi to feed ieee80211_input(), so when rssi smoothing is
in place, rssi conversion error will have no impacts on average rssi.

17 years agoMisc cleanups for NATA ataraid, and write ata_raid_dump() to look like
Thomas E. Spanjaard [Tue, 6 Feb 2007 15:17:44 +0000 (15:17 +0000)]
Misc cleanups for NATA ataraid, and write ata_raid_dump() to look like
something that will actually work. I did not take the same approach as with
ad_dump() here, because that takes just too much code duplication between
ata_raid_strategy() and ata_raid_dump().

17 years agoAbsolute RX siganl strength correction value from EEPROM should be within
Sepherosa Ziehau [Tue, 6 Feb 2007 14:40:32 +0000 (14:40 +0000)]
Absolute RX siganl strength correction value from EEPROM should be within
[-10, 10], if it is out of range, reset it to zero.

This range is referenced from Linux RT61 driver.

17 years agoCorrectly calculate absolute RX signal strength and use relative RX signal
Sepherosa Ziehau [Tue, 6 Feb 2007 14:33:39 +0000 (14:33 +0000)]
Correctly calculate absolute RX signal strength and use relative RX signal
strength (relative to noise floor) as RSSI.  This makes the signal of node
reported by ifconfig(8) consistent with reality, i.e. weaker signal, lower
RSSI.

Calculation of absolute RX signal strength is adapted from Linux RT73 driver.

17 years agoUse relative RX signal strength (relative to noise floor) as RSSI.
Sepherosa Ziehau [Tue, 6 Feb 2007 13:50:25 +0000 (13:50 +0000)]
Use relative RX signal strength (relative to noise floor) as RSSI.
RSSI correction value is obtained from Linux RT25USB driver.

17 years agoFor rt2661 part:
Sepherosa Ziehau [Tue, 6 Feb 2007 12:46:09 +0000 (12:46 +0000)]
For rt2661 part:
Use relative RX signal strength (relative to noise floor) as RSSI.

17 years agoUse relative RX signal strength (relative to noise floor) as RSSI.
Sepherosa Ziehau [Tue, 6 Feb 2007 12:38:30 +0000 (12:38 +0000)]
Use relative RX signal strength (relative to noise floor) as RSSI.

17 years agoleftover from 1:1 Userland threading stage 2.11/4
YONETANI Tomokazu [Tue, 6 Feb 2007 05:56:03 +0000 (05:56 +0000)]
leftover from 1:1 Userland threading stage 2.11/4

17 years agoAdd flag to optionally disable stripping of old kernel and modules.
Simon Schubert [Mon, 5 Feb 2007 22:19:28 +0000 (22:19 +0000)]
Add flag to optionally disable stripping of old kernel and modules.

Submitted-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
17 years agoMake natadisk's ad_dump() actually work. Ditch the fake bio/buf scheme to
Thomas E. Spanjaard [Mon, 5 Feb 2007 18:10:14 +0000 (18:10 +0000)]
Make natadisk's ad_dump() actually work. Ditch the fake bio/buf scheme to
pass information to ad_strategy() in favour of calling ata_queue_request()
directly. This way, we avoid hairy bio stuff and request callbacks.

17 years agoConvert RSSI to receive signal strength (dbm). The real convertion is not yet
Sepherosa Ziehau [Mon, 5 Feb 2007 15:19:04 +0000 (15:19 +0000)]
Convert RSSI to receive signal strength (dbm).  The real convertion is not yet
hooked, but it will be used when roaming/background scan is imported.

EEPROM offset of RSSI mapping value, default RSSI mapping value and noise floor
are obtained from Linux RT2500 driver.

17 years agoNuke unused header files
Sepherosa Ziehau [Mon, 5 Feb 2007 10:53:18 +0000 (10:53 +0000)]
Nuke unused header files

17 years agoDon't hand-roll an own version on selrecord. This unbreaks LINT build.
Simon Schubert [Mon, 5 Feb 2007 09:38:19 +0000 (09:38 +0000)]
Don't hand-roll an own version on selrecord.  This unbreaks LINT build.

Reported-by: swildner@
17 years agoRemove unnecessary CFLAGS and SRCS lines.
Peter Avalos [Sun, 4 Feb 2007 21:17:34 +0000 (21:17 +0000)]
Remove unnecessary CFLAGS and SRCS lines.

Obtained-from:  FreeBSD

17 years agoSync with FreeBSD.
Peter Avalos [Sun, 4 Feb 2007 21:08:28 +0000 (21:08 +0000)]
Sync with FreeBSD.

17 years agoRemove bogus "-" operand from usage message. There is no restriction on
Peter Avalos [Sun, 4 Feb 2007 21:06:34 +0000 (21:06 +0000)]
Remove bogus "-" operand from usage message. There is no restriction on
where it may be placed, it is treated the same as the file arguments.

Obtained-from:  FreeBSD

17 years agoUse the saved ucontext pointer and not the return value of get_mcontext.
Simon Schubert [Sun, 4 Feb 2007 20:28:21 +0000 (20:28 +0000)]
Use the saved ucontext pointer and not the return value of get_mcontext.

Reported-by: pavalos@
17 years agoDon't rely on sys/resource.h including all necessary headers.
Simon Schubert [Sun, 4 Feb 2007 19:45:24 +0000 (19:45 +0000)]
Don't rely on sys/resource.h including all necessary headers.

This fixes compilation on 1.4-RELEASE.

17 years agoAvoid truncating the pathname to UNIX Domain Sockets with snprintf(),
Peter Avalos [Sun, 4 Feb 2007 19:27:58 +0000 (19:27 +0000)]
Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
giving a more sensible warning when the (relatively meagre) sun_path
limit is exceeded.

Obtained-from:  FreeBSD

17 years agoPrint the "$" symbol on blank lines when the -s and -e options are used
Peter Avalos [Sun, 4 Feb 2007 18:43:39 +0000 (18:43 +0000)]
Print the "$" symbol on blank lines when the -s and -e options are used
together.

Obtained-from:  FreeBSD

17 years agoAdd note on using 'handle SIGSEGV noprint' when gdb'ing a virtual kernel.
Matthew Dillon [Sun, 4 Feb 2007 17:24:56 +0000 (17:24 +0000)]
Add note on using 'handle SIGSEGV noprint' when gdb'ing a virtual kernel.

Suggested-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
17 years agoregen
Sepherosa Ziehau [Sun, 4 Feb 2007 13:43:53 +0000 (13:43 +0000)]
regen

17 years agoAdd PCI ids for Intel WL-3945ABG wireless minipci adapters.
Sepherosa Ziehau [Sun, 4 Feb 2007 13:42:08 +0000 (13:42 +0000)]
Add PCI ids for Intel WL-3945ABG wireless minipci adapters.

17 years agoAdd firewire dependency.
Sascha Wildner [Sun, 4 Feb 2007 05:26:05 +0000 (05:26 +0000)]
Add firewire dependency.

17 years agoFix typo.
Sascha Wildner [Sun, 4 Feb 2007 04:31:13 +0000 (04:31 +0000)]
Fix typo.

17 years agoRestore {SYM,M}LINKS.
Sascha Wildner [Sun, 4 Feb 2007 03:48:07 +0000 (03:48 +0000)]
Restore {SYM,M}LINKS.

17 years agoFix typo: firmare -> firmware
Sascha Wildner [Sat, 3 Feb 2007 23:13:19 +0000 (23:13 +0000)]
Fix typo: firmare -> firmware

17 years ago1:1 Userland threading stage 2.11/4:
Simon Schubert [Sat, 3 Feb 2007 17:05:59 +0000 (17:05 +0000)]
1:1 Userland threading stage 2.11/4:

Move signals into lwps, take p_lwp out of proc.

Originally-Submitted-by: David Xu <davidxu@freebsd.org>
Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>
17 years agoFor acd(4), create the 'root device' (e.g. acd0) and link a and c to it.
Thomas E. Spanjaard [Sat, 3 Feb 2007 17:00:12 +0000 (17:00 +0000)]
For acd(4), create the 'root device' (e.g. acd0) and link a and c to it.
This allows for specifying 'acd0' as device instead of the semi-deprecated
acd0a and acd0c.

17 years agoBump date for r1.6.
Sascha Wildner [Sat, 3 Feb 2007 11:38:25 +0000 (11:38 +0000)]
Bump date for r1.6.

17 years agoUse .Pq for parentheses.
Sascha Wildner [Sat, 3 Feb 2007 11:35:41 +0000 (11:35 +0000)]
Use .Pq for parentheses.

17 years agoAdd some words about signals and mention that CTRL-\ will drop the vkernel
Sascha Wildner [Sat, 3 Feb 2007 11:27:07 +0000 (11:27 +0000)]
Add some words about signals and mention that CTRL-\ will drop the vkernel
into ddb.

Suggested-by: dillon, Steve Mynott <steve.mynott@gmail.com>
17 years agoRemove now unused cpu_coredump.
Simon Schubert [Sat, 3 Feb 2007 10:30:12 +0000 (10:30 +0000)]
Remove now unused cpu_coredump.