summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variable saved_id16.rpaulo2008-05-021-2/+0
| | | | | | Pointy hat to: me Pointed out by: jhb MFC after: 1 week
* Documentation updates:kientzle2008-05-022-3/+9
| | | | | | * --format can be used with -r or -u * -o is a synonym for --format=ustar when used with -c, -r, or -u Also, fix the erroneous sanity check that suppressed --format with -r or -u.
* bsdtar --version should succeed.kientzle2008-05-021-1/+1
|
* New bsdtar test harness. Still rather skimpy, but a lot easierkientzle2008-05-0211-0/+2203
| | | | to run and maintain than the old scripts that used to be here.
* Allow -r with -T even if there are no files on the command line.kientzle2008-05-021-1/+1
| | | | | PR: bin/123246 MFC after: 3 days
* - Change how the vmcore target maps FreeBSD thread IDs to GDB ptids. Wejhb2008-05-018-47/+40
| | | | | | | | | | | | | | now only use the TID and ignore the PID and use pid_to_ptid() to build a ptid treating the TID as a PID. The benefit of this is that the vmcore target now uses the same scheme as GDB's remote targets. As a result, the 'tid' command now works for remote targets (however, it only accepts TIDs and not addresses of 'struct thread' objects). - Use gdb_thread_select() to do the actual thread switch for the 'tid' and 'proc' commands. This now gives the same UI feedback when switching threads as the GDB 'thread' command rather than providing no visual output at all. MFC after: 1 week
* fix build w/ IEEE80211_DEBUG_REFCNT enabledsam2008-05-011-1/+1
|
* Add a separate tree to track arena chunks that contain dirty pages.jasone2008-05-011-157/+133
| | | | | | | This substantially improves worst case allocation performance, since O(lg n) tree search can be used instead of O(n) tree iteration. Use rb_wrap() instead of directly calling rb_*() macros.
* Add rb_wrap(), which creates C function wrappers for most rb_*()jasone2008-05-011-36/+194
| | | | | | | | | | macros. Add rb_foreach_next() and rb_foreach_reverse_prev(), which make it possible to re-synchronize tree iteration after the tree has been modified. Rename rb_tree_new() to rb_new().
* Use the correct bit when trying to force an interrupt through the HCC reg.bz2008-05-011-1/+1
| | | | It's not a problem as this is a #ifdef notyet.
* o OpenBSD 4.3 added.maxim2008-05-011-1/+2
|
* Do not call ndis_setstate_80211() until we are ready to associate, the vap maythompsa2008-05-011-11/+9
| | | | | | | not have been created yet and will panic. This requires ndis_scan() to always set the SSID. Reported by: Ben Kaduk
* Unify all the wifi *_ioctl routinesthompsa2008-05-0111-88/+131
| | | | | | | | | | | | | | - Limit grabbing the lock to SIOCSIFFLAGS. - Move ieee80211_start_all() to SIOCSIFFLAGS. - Remove SIOCSIFMEDIA as it is not useful. - Limit ether_ioctl to only SIOCGIFADDR. SIOCSIFADDR and SIOCSIFMTU have no affect as there is no input/output path in the vap parent. The vap code will handle the reinit of the mac address changes. - Split off ndis_ioctl_80211 as it was getting too different to wired devices. This fixes a copyout while locked and a lock recursion. Reviewed by: sam
* re-enable WME by default; after a full day of testing on iwi I see nosam2008-05-011-3/+0
| | | | issues and the only way we'll identify them is for people to use it
* Enable autoflush of output to always show prompts. If piping the outputscf2008-04-301-0/+5
| | | | | | prior to this patch, the prompt would not appear due to buffering. Approved by: flz
* Attempt to make the print types more friendly to other architectures.julian2008-04-301-15/+15
| | | | | Prodded by: Max Laier Help from: BMS, jhb
* o add indirect array for field indices as the # stats is > 127 and doesn'tsam2008-04-304-18/+28
| | | | | | fit in a signed char o change default output to something more useful for sta mode o futz w/ various field names and widths; need to do full pass over this stuff
* update for new eventssam2008-04-301-0/+65
|
* Add support for Microsoft Notebook Optical Mouse 3000 Model 1049.kaiw2008-04-302-0/+21
| | | | | | | Reviewed by: imp (RELENG-7) Tested by: Oliver Herold <oliver@akephalos.de> PR: usb/121052 MFC after: 1 month
* remove old code to handle mcast address changes; this is all done throughsam2008-04-301-10/+0
| | | | net80211 and pushed into the driver through non-ioctl callbacks
* Emit a warning when the network_interfaces variable is not set to AUTO.brooks2008-04-301-0/+4
| | | | MFC after: 3 days
* disable default enabling of WME until we resolve driver regressionssam2008-04-301-0/+3
|
* Make ld use tradmips for output formats since we migrated to it.gonzo2008-04-302-2/+2
| | | | Approved by: cognet (mentor)
* When receiving delegated credentials, initialise our cred's linked list.dfr2008-04-301-1/+5
| | | | | | | Add a bit more sanity checking for GSS-API mechanisms that claim to have delegated creds but don't actually return a cred handle. MFC after: 2 weeks
* Use global implementation of _gss_oid_equal.dfr2008-04-301-9/+1
| | | | MFC after: 2 weeks
* Allow null oids in _gss_oid_equal().dfr2008-04-301-0/+5
| | | | MFC after: 2 weeks
* Eliminate an unused field from the pmap.alc2008-04-301-1/+0
|
* Don't panic even if bus_dmamap_load(9) was failed. Just returnyongari2008-04-301-3/+11
| | | | | | | ENOBUFS so callers can reuse previous mbuf. Submitted by: Oleg (agile.quad AT gmail DOT com) MFC after: 1 week
* mp_machdep.c is only conditional upon smp, not aim. If booke growsmarcel2008-04-301-1/+1
| | | | support for smp, mp_machdep.c needs to be included as well.
* fix buildsam2008-04-301-2/+2
| | | | Submitted by: delphij
* o Add MIPS to the list of architectures with defined TLS_TCB_ALIGNgonzo2008-04-291-2/+2
| | | | | | o Stick with TLS Variant II for MIPS for the moment. Approved by: imp
* Set QUANTUM_2POW_MIN and SIZEOF_PTR_2POW parameters for MIPSgonzo2008-04-291-0/+5
| | | | Approved by: imp
* Document the kproc_kthread_add() calljulian2008-04-293-1/+76
| | | | | and fix a small detail of its implementation. MFC after: 1 week
* Add new directories, scripts and wlanwds. Introduced with vap support.rpaulo2008-04-291-0/+2
|
* Add missing 't'.rpaulo2008-04-291-1/+1
| | | | Approved by: sam
* disable HT capabilities until we sort out firmware issuessam2008-04-291-1/+3
|
* Lock filedesc exclusively when modifying fd_[cr]dir.rdivacky2008-04-291-2/+2
| | | | | | | This is probably harmless but it's better to lock it correctly. Approved by: kib (mentor)
* Intel 4965 wireless driver (derived from openbsd driver of the same name)sam2008-04-2913-0/+9473
|
* Add an option (compiled out by default)julian2008-04-295-0/+168
| | | | | | | | | to profile outoing packets for a number of mbuf chain related parameters e.g. number of mbufs, wasted space. probably will do with further work later. Reviewed by: various
* Fix a comment typo.rwatson2008-04-291-1/+1
| | | | MFC after: 3 days
* Rework how kgdb manages kernel and vmcore files to be a bit more gdb-ishjhb2008-04-2911-184/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that kgdb can be used more like a normal gdb: - Load the kernel via the standard 'exec' target and allow it to be changed via the 'file' command. - Instead of explicitly loading the kernel file as the mail symbol file during startup, just pass it to gdb_main() as the executable file. - Change the kld support (via shared libraries) to cache the address of the linker_files and linker_kernel_file variables in addition to the offsets of various members in 'struct linker_file'. - When a new symbol file is loaded, recompute the addresses and offsets used by the kld support code. - When a new symbol file is loaded, recalculate the ofs_fix variable to account for the different ways a trapframe can be passed to trap frame handlers in i386. This is done by adding a MD kgdb_trgt_new_objfile() hook that is empty on all but i386. - Don't use the directory name of the kernel specified on the command line to find kernel modules in the kld support code. Instead, extract the filename of the current executable via exec_bfd. Now the 'kernel' variable is private to main.c again. - Make the 'add-kld' command explicitly fail if no executable is loaded. - Make the support for vmcores a real core-dump target that opens the kernel and vmcore on open and closes the kvm connection when closed, etc. - The 'core' command can now be used to select a vmcore to use, either a crash dump file or /dev/mem for live debugging. - The 'detach' command can be used to detach from a vmcore w/o attaching to a new one. - kgdb no longer explicitly opens a core dump during startup and no longer has to use an atexit() hook to close the kvm connection on shutdown. - Symbols for kld's are automatically loaded anytime a core is opened. Also, the unread portion of dmesg is dumped just as it was done on kgdb startup previously. - Don't require either a remote target or core dump if a kernel is specified. You can now just run 'kgdb kernel' similar to running gdb on an executable and later connect to a remote target or core dump. - Use a more relaxed way to verify remote targets specified via -r. Instead of explicitly allowing a few non-file target specifications, just assume that if stat() on the arg and on "/dev/" + arg both fail that is some non-file target and pass it to gdb. - Don't use a custom interpreter. The existing kgdb_init() hook and the target_new_objfile() hook give us sufficient hooks during startup to setup kgdb-specific behavior now. - Always add the 'proc', 'tid', and 'add-kld' commands on startup and not just if we have a core dump. Currently the 'proc' and 'tid' commands do not work for remote targets (I will fix at least 'tid' in the next round of changes though). However, the 'add-kld' command works fine for loading symbols for a kernel module on a remote target. - Always setup the 'kld' shared library target operations instead of just if we have a core dump. Although symbols for kernel modules are not automatically loaded when connecting to a remote target, you can do 'info sharedlibrary' after connecting to the remote target and kgdb will find all the modules. You can then use the 'sharedlibrary' command to load symbols from the module files. - Change kthr_init() to free the existing list of kthr objects before generating a new one. This allows it to be invoked multiple times w/o leaking memory. MFC after: 1 week
* More recommendationsimp2008-04-291-1/+3
|
* Add support for the BCM5906[M] adapters. These adapters only supportjhb2008-04-295-61/+351
| | | | | | | | | | | 10/100 operation and place the mailbox registers at a different offset. They also do not have an EEPROM, so the MAC address must be read from NVRAM instead. MFC after: 1 month PR: kern/118975 Submitted by: benjsc, Thomas Nyström thn at saeab dot se Submitted by: sephe (original patch for DragonflyBSD)
* - Add a global variable 'fbsdcoreops_suppress_target' that can be set tojhb2008-04-291-2/+11
| | | | | | | | | | | | | | force the FreeBSD multithreaded core target to not register any target for handling core dumps. This is analogous to the 'coreops_suppress_target' variable that GDB provides for suppressing the default core dump target. KGDB will use this new variable so it can provide its own core dump target that uses libkvm to work with vmcore files. - Adjust the long name and documentation of the FreeBSD multithreaded core dump target so it better matches what GDB's core dump target uses. MFC after: 1 week Reviewed by: davidxu, marcel
* _setjmp.o was missing a dependency on "machine".ru2008-04-291-3/+1
|
* Don't forget to clean the "machine" symlink on amd64, otherwise badru2008-04-291-0/+3
| | | | | | | things may happen. Reported by: phk MFC after: 3 days
* This bloke has his priorities straight:phk2008-04-291-0/+4
| | | | | | | | +"Can you be more stupid than aggravating the judge AND your lawyer? +No? Oh yes you can: You can aggravate the whole kernel community." + -- Alexander Lyamin (about Hans Reisers murder trial) Found at: http://www.news.com/8301-10784_3-9925607-7.html?tag=nefd.top
* Define INLINE_LIMIT and additional CFLAGS for mips.gonzo2008-04-291-0/+9
| | | | Approved by: cognet (mentor)
* Define KINFO_PROC_SIZE for mips.gonzo2008-04-291-0/+3
| | | | Approved by: cognet (mentor)
* Mention -U and -ai arguments to mergemaster in a comment for therwatson2008-04-291-1/+1
| | | | | | | general mergemaster line. MFC after: 3 days Suggested by: Ben Laurie
OpenPOWER on IntegriCloud