summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Properly detect loops by recording the interface pointer in an mtag.ru2004-04-052-20/+33
| | | | | | | | | | | | | | For now, preserve the gif_called functionality to limit the nesting level because uncontrolled nesting can easily cause the kernel stack exhaustion. Rumors are it should be shot to allow people to easily shoot themselves in the foot, but I have ran out of cartridges. ;)
* | Add separate script for natd. This fixes race condition with "ipfw restart"fjoe2004-04-053-28/+45
| | | | | | | | | | | | | | (when new natd is started before old natd died) and allows to manage natd without touching ipfw. natd should probably be killed with SIGKILL when stopping natd.
* | Allow this script to be used for Postfix:fjoe2004-04-051-3/+4
| | | | | | | | | | | | | | - Use sendmail_foo variables after load_rc_config so that they actually work. - Utilize sendmail_procname. - Check sendmail_submit_enable instead of sendmail_enable when dealing with mail submission MTA.
* | Document sendmail_pidfile variable.fjoe2004-04-051-1/+3
| | | | | | | | Add sendmail_procname variable.
* | Try not to crash instantly when signalling a libthr program to death.dfr2004-04-051-1/+1
| |
* | Document lgetfh(2).dfr2004-04-052-5/+22
| |
* | Regen.dfr2004-04-056-7/+15
| |
* | Add lgetfh(2) which is like getfh(2) but doesn't follow symlinks.dfr2004-04-053-1/+77
| |
* | Print cpu features for crusoe processors.dfr2004-04-051-0/+2
| |
* | Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kerneldfr2004-04-051-1/+4
| | | | | | | | | | settings). Pretend that a crusoe is an i686 which doesn't like alignment padding.
* | - The MiniportReset() function can return NDIS_STATUS_PENDING, in whichwpaul2004-04-054-54/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case we should wait for the resetdone handler to be called before returning. - When providing resources via ndis_query_resources(), uses the computed rsclen when using bcopy() to copy out the resource data rather than the caller-supplied buffer length. - Avoid using ndis_reset_nic() in if_ndis.c unless we really need to reset the NIC because of a problem. - Allow interrupts to be fielded during ndis_attach(), at least as far as allowing ndis_isr() and ndis_intrhand() to run. - Use ndis_80211_rates_ex when probing for supported rates. Technically, this isn't supposed to work since, although Microsoft added the extended rate structure with the NDIS 5.1 update, the spec still says that the OID_802_11_SUPPORTED_RATES OID uses ndis_80211_rates. In spite of this, it appears some drivers use it anyway. - When adding in our guessed rates, check to see if they already exist so that we avoid any duplicates. - Add a printf() to ndis_open_file() that alerts the user when a driver attempts to open a file under /compat/ndis. With these changes, I can get the driver for the SMC 2802W 54g PCI card to load and run. This board uses a Prism54G chip. Note that in order for this driver to work, you must place the supplied smc2802w.arm firmware image under /compat/ndis. (The firmware is not resident on the device.) Note that this should also allow the 3Com 3CRWE154G72 card to work as well; as far as I can tell, these cards also use a Prism54G chip.
* | Converted the isa probe and attach to new-bus so that this driver worksbde2004-04-055-139/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without the (defunct) isa compatibility shims. The new-bus-specific parts are very similar to the ones for the pci probe and attach. This was held up too long waiting for a repo copy to src/sys/dev/cy, so I decided to fix the files in their old place. This gives easier to read and merge diffs anyway. The "count" line in src/sys/conf/files won't be changed until after the repo copy, so old kernel configs that specify a count need not be (and must not be) changed until then. The count is just ignored in the driver. One unfinished detail is dynamic allocation of arrays with <count> and (<count> * 32) entries, and iteration over the arrays. This is now kludged with a fixed count of 10 (up to 10 cards with up to 32 ports each). Prodded by: imp Submitted by: mostly by imp Approved by: imp
* | Make WARNS=5 clean.phk2004-04-052-6/+9
| | | | | | | | Prodded by: Stefan Farfeleder <stefan@fafoe.narf.at>
* | Moved initialization of the lock from the (isa) probe function to thebde2004-04-053-18/+18
| | | | | | | | | | | | | | common attach function so that the lock gets initialized in all cases. This fixes breakage of the initialization of the lock in the pci case in rev.1.135 (between the releases of 5.1 and 5.2). The lock is only used in the SMP case, so this bug was not always fatal.
* | Sort #includes, remove <sys/types.h> (made redundant by <sys/param.h>),des2004-04-051-4/+6
| | | | | | | | | | | | add <signal.h> (needed for sigaction()) Noticed by: Stefan Farfeleder <stefan@fafoe.narf.at>
* | Delay permission checks for VCHR vnodes until after vnode is locked inkan2004-04-051-2/+7
| | | | | | | | | | | | | | | | vm_mmap_vnode function, where we can safely check for a special /dev/zero case. Rev. 1.180 has reordered checks and introduced a regression. Submitted by: alc Was broken by: kan
* | use correct malloc type to allocate struct ieee80211_node'ssam2004-04-051-1/+1
| | | | | | | | Noticed by: phk
* | export the malloc type M_80211_NODE for drivers that override the nodesam2004-04-052-0/+3
| | | | | | | | allocation routines
* | make malloc tag for ieee80211_node more recognizablesam2004-04-051-1/+1
| |
* | Remove avail_start on those platforms that no longer use it. (Only amd64alc2004-04-0512-28/+8
| | | | | | | | does anything with it beyond simple initialization.)
* | Add #include for ctype.h to cover strupr() in the !_KERNEL case.njl2004-04-051-0/+1
| | | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* | Add register definitions for the status and command registers for AGP.imp2004-04-052-0/+44
| | | | | | | | | | PR: 64846 Submitted by: Samy Al Bahra
* | Ever since rev 1.27 of puc.c, the port number that was exposed by puc(4)marcel2004-04-051-1/+1
| | | | | | | | | | | | | | | | | | and used by uart(4) for the channel conflicted with the port offset for the Z8530. The Z8530 has the channels reversed (i.e. channel B is at offset 0 and channel A is at offset 4). Assign the port offsets in the right order so that uart(4) will properly attach to the channels. Submitted by: Marius Strobl <marius@alchemy.franken.de>
* | Two missed in previous commit -- compare pointer with NULL rather thanrwatson2004-04-052-4/+4
| | | | | | | | using it as a boolean.
* | Prefer NULL to 0 when checking pointer values as integers or booleans.rwatson2004-04-052-38/+40
| |
* | Remove unused arguments from pmap_init().alc2004-04-0510-13/+10
| |
* | Eliminate unused arguments from vm_page_startup().alc2004-04-043-3/+3
| |
* | freebsd.org -> FreeBSD.orgphantom2004-04-043-3/+3
| |
* | Rename internal structure to fix cut & paste error.archie2004-04-041-3/+3
| | | | | | | | | | Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net> MFC After: 3 days
* | The list of (key,value) pairs to request_init is terminated by a 0 key,dwmalone2004-04-041-1/+1
| | | | | | | | | | | | | | not NULL. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> MFC after: 3 days
* | Cast the terminating NULL to char * in the execl() call.mux2004-04-041-1/+1
| | | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* | Calculate bio_completed properly or die!pjd2004-04-041-0/+3
| | | | | | | | Approved by: phk
* | Fix a panic possibility caused by returning without releasing locks.pjd2004-04-041-37/+26
| | | | | | | | | | | | | | | | | | | | | | | | It was fixed by moving problemetic checks, as well as checks that doesn't need locking before locks are acquired. Submitted by: Ryan Sommers <ryans@gamersimpact.com> In co-operation with: cperciva, maxim, mlaier, sam Tested by: submitter (previous patch), me (current patch) Reviewed by: cperciva, mlaier (previous patch), sam (current patch) Approved by: sam Dedicated to: enough!
* | Add FBSDID. Use getopt(3).charnier2004-04-041-11/+15
| |
* | Add FBSDID. err(3) changed to errx(3) because there is no errno messagecharnier2004-04-041-4/+4
| | | | | | | | to print in this context.
* | 2 small typos.charnier2004-04-041-2/+2
| |
* | Do not :-terminate err(3) string, one will be added anyway.charnier2004-04-041-1/+1
| |
* | Spell 2 as SHUT_RDWR when used as an argument to soshutdown().rwatson2004-04-042-2/+2
| |
* | Be consistant while reporting error conditions.charnier2004-04-041-2/+2
| |
* | Detatch incorrect spellings of detach.rwatson2004-04-041-1/+1
| |
* | Explicitly compare pointers with NULL rather than treating a pointer asrwatson2004-04-042-6/+9
| | | | | | | | a boolean directly, use NULL instead of 0.
* | - Use the proper constant in sched_interact_update(). Previously,jeff2004-04-041-1/+1
| | | | | | | | | | | | SCHED_INTERACT_MAX was used where SCHED_SLP_RUN_MAX was needed. This was causing the interactivity scaler to lose history at a more dramatic rate than intended.
* | Add FBSDID. Use %ld to printf(3) a long (even if the number is small).charnier2004-04-041-3/+6
| |
* | Add FBSDID. Do not dot terminate errx(3) string.charnier2004-04-041-5/+6
| |
* | Drop the include of <stdint.h>, since r1.84 removed references of intmax_t.gad2004-04-041-1/+0
| |
* | Add back the `-e' option, which was mistakenly dropped when cleaninggad2004-04-041-1/+1
| | | | | | | | | | up the PS_ARGS string in revision 1.69 (and which was apparently not missed by anyone...).
* | Put a bunch of output that us really only useful in a debugmarkm2004-04-042-2/+26
| | | | | | | | | | | | | | | | | | | | scenario into #ifdef DEBUG. This makes my cluster with Belkin KVM switch completely usable, even if the KVM switch and mouse get a bit confused sometimes. Without this, when the mouse gets confused, all sorts of crud gets spammed all over the screen. With this, the mouse may appear dead for a second or three, but it recovers silently.
* | www.freebsdmirrors.org -> mirrorlist.freebsd.orgphantom2004-04-042-2/+2
| |
* | Add a workaround.pjd2004-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Now, if we have for example: ad0s1 ad0s1c ad2s1 ad2s1c and we will try to do: gconcat label foo /dev/ad0s1 /dev/ad2s1 we'll get a panic: panic: spoiled but dcr = 1 for inside of geom_slice class, backtrace shows: g_access() g_slice_access() g_access() g_concat_read_metadata() We need to get a proper fix for this race before geom(8) will be committed.
* | - Use an ihandle_t to store the stdout instance handle instead of atmm2004-04-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | phandle_t. Since both are typedefed to unsigned int, this is more or less cosmetic. - Fix the code that determines whether a creator instance was used for firmware output (and should not be blanked on initialization). Since r1.2 of dev/fb/creator.c, this consisted comparing a handle of an instance of a package with a handle of the package itself. Use the test from r1.1, which utilizes OF_instance_to_package(). Submitted by: Marius Strobl <marius@alchemy.franken.de>
OpenPOWER on IntegriCloud