dragonfly.git
14 years agoUse queue(3) macros for if_multiaddrs.
Joerg Sonnenberger [Mon, 20 Jun 2005 15:10:41 +0000 (15:10 +0000)]
Use queue(3) macros for if_multiaddrs.

14 years agoSetup interrupt last in txp_attach. Protect against concurrent interrupts
Joerg Sonnenberger [Mon, 20 Jun 2005 13:56:08 +0000 (13:56 +0000)]
Setup interrupt last in txp_attach. Protect against concurrent interrupts
in txp_detach. Use M_WAITOK in txp_attach.

14 years agoCommon PCI probe style.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:51:54 +0000 (13:51 +0000)]
Common PCI probe style.

14 years agoExplicitly set error before jumping to fail.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:49:52 +0000 (13:49 +0000)]
Explicitly set error before jumping to fail.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse local storage for MAC instead of arpcom.ac_enaddr.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:41:51 +0000 (13:41 +0000)]
Use local storage for MAC instead of arpcom.ac_enaddr.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse ether_crc32_be.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:39:17 +0000 (13:39 +0000)]
Use ether_crc32_be.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse queue(3).
Joerg Sonnenberger [Mon, 20 Jun 2005 13:30:53 +0000 (13:30 +0000)]
Use queue(3).

14 years agoUse PCI accessor functions, don't change memory / port bit manually.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:26:15 +0000 (13:26 +0000)]
Use PCI accessor functions, don't change memory / port bit manually.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years ago- pass dev directly to txp_release_resources, call it only once
Joerg Sonnenberger [Mon, 20 Jun 2005 13:24:14 +0000 (13:24 +0000)]
- pass dev directly to txp_release_resources, call it only once
- use only if_printf outside of txp_attach.
- remove sc_dev, sc_cold, TXP_DEVNAME

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse vr_detach as common error path.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:08:01 +0000 (13:08 +0000)]
Use vr_detach as common error path.
Setup interrupt last in vr_attach.
Use M_WAITOK for contigmalloc, now that we don't have to protect
against concurrent interrupts.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse ether_crc32_be.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:04:52 +0000 (13:04 +0000)]
Use ether_crc32_be.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

14 years agoUse PCI accessor functions. Stop changing port / memory bits manually.
Joerg Sonnenberger [Mon, 20 Jun 2005 13:02:48 +0000 (13:02 +0000)]
Use PCI accessor functions. Stop changing port / memory bits manually.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years ago- initialise interface name early
Joerg Sonnenberger [Mon, 20 Jun 2005 13:01:15 +0000 (13:01 +0000)]
- initialise interface name early
- use common PCI probe style
- remove unused vr_info and vr_type field from softc

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoAdd a DEBUG_TOKENS option which causes token operations to be logged to
Matthew Dillon [Mon, 20 Jun 2005 07:58:39 +0000 (07:58 +0000)]
Add a DEBUG_TOKENS option which causes token operations to be logged to
a static array, suitable for post-morten investigation.

14 years agoTokens are recursive in the context of the same thread. This also means
Matthew Dillon [Mon, 20 Jun 2005 07:40:30 +0000 (07:40 +0000)]
Tokens are recursive in the context of the same thread.  This also means
that fast interrupts such as IPIs cannot safely use any token function.
Assert this requirement in the implementation.

Add miscellanious other assertions to enforce correct operation.

Remove the 'no giveaway' warning.  This warning was being used to determine
where recursive tokens were being used.  It turns out that they are used
in the mountlist scan code (which has historically been rather buggy).  Now
that we know where they are used and we fixed the recursion release bug in
a prior commit, this printf() can be removed.

14 years agoFix a serious SMP bug. The RWLOCK support used by dev/raid/aac,
Matthew Dillon [Mon, 20 Jun 2005 07:31:05 +0000 (07:31 +0000)]
Fix a serious SMP bug.  The RWLOCK support used by dev/raid/aac,
ACPI, and dev/drm improperly tries to use a token in lwkt_schedule().
Because lwkt_schedule() can be called from an IPI in the context of
the current thread it cannot safely manipulate the current thread,
much less the td_toks field.

To fix this problem the RW lock functions in lwkt_rwlock.c have to be
covered by a critical section as well as the token, and lwkt_schedule()
then simply checks to see if the token is owned by the current cpu.  RWLocks
may require some rethinking.

The token code is designed to operate mostly without having to use a
critical section, but in order for this to work it depends on the td_toks
list not being ripped out from under it.  The nested trytoken/release
call in lwkt_schedule() should not have caused mainline token code to
fail as it restored td_toks to the same state it was in on entry, but
we can't take that chance.

14 years agoAdd a missing crit_exit(). The code path in question only got executed
Matthew Dillon [Mon, 20 Jun 2005 02:56:09 +0000 (02:56 +0000)]
Add a missing crit_exit().  The code path in question only got executed
if an error occurs.

14 years agoFix a bug in the physmap[] array limit calculation and rewrite portions of
Matthew Dillon [Sun, 19 Jun 2005 22:43:32 +0000 (22:43 +0000)]
Fix a bug in the physmap[] array limit calculation and rewrite portions of
the physmap code to try to clean up some of the mess.  Increase the number
of physmap entries supported to 10.

14 years agoAdd more magic numbers for the token code.
Matthew Dillon [Sun, 19 Jun 2005 22:07:17 +0000 (22:07 +0000)]
Add more magic numbers for the token code.

14 years agoFix two bugs in the LWKT token code.
Matthew Dillon [Sun, 19 Jun 2005 21:50:50 +0000 (21:50 +0000)]
Fix two bugs in the LWKT token code.

(1) When releasing a token reference we cannot give away the token to
    another cpu if we are still holding it via a another reference.   This
    can cause recursive token references to silently fail when the inner
    reference is released.  It is unclear where such references exist and
    a temporary printf has been added to identify occurances.

(2) When obtaining a token reference if the underlying token was not owned
    by the current cpu we spun to gain ownership, but then failed to check
    whether the token was being held by a preempted thread.

    This can result in a preempting thread holding a token also being held
    by an underyling thread.  Theoretically, this case can only
    occur if the preempted thread was is the process of obtaining the
    token in question since otherwise (by definition) our cpu will already
    own the token.  On return the preempted thread will check and obtain
    ownership.  However, the situation is complex enough that we really
    need to check unconditionally.

14 years agoAlso include files in the .OBJDIR.
Joerg Sonnenberger [Sun, 19 Jun 2005 17:13:59 +0000 (17:13 +0000)]
Also include files in the .OBJDIR.

14 years agoFix some glitches.
Joerg Sonnenberger [Sun, 19 Jun 2005 16:45:32 +0000 (16:45 +0000)]
Fix some glitches.

14 years agoRemove old libf2c.
Joerg Sonnenberger [Sun, 19 Jun 2005 16:19:42 +0000 (16:19 +0000)]
Remove old libf2c.

14 years agoUnhook old g2c from build and start building the GCC 3.4.4 version.
Joerg Sonnenberger [Sun, 19 Jun 2005 16:18:22 +0000 (16:18 +0000)]
Unhook old g2c from build and start building the GCC 3.4.4 version.
While they should be binary compatible, don't take any risk and add
them as SHLIB_MAJOR 3.

14 years agoMerge from vendor branch GCC:
Joerg Sonnenberger [Sun, 19 Jun 2005 16:11:16 +0000 (16:11 +0000)]
Merge from vendor branch GCC:
Include the fortran library sources from GCC 3.4.4.

14 years agoInclude the fortran library sources from GCC 3.4.4.
Joerg Sonnenberger [Sun, 19 Jun 2005 16:11:16 +0000 (16:11 +0000)]
Include the fortran library sources from GCC 3.4.4.

14 years agocleanup exit status handling
Max Okumoto [Sun, 19 Jun 2005 14:31:03 +0000 (14:31 +0000)]
cleanup exit status handling

14 years agoRename noBuiltins to builtins and invert logic.
Max Okumoto [Sun, 19 Jun 2005 14:30:29 +0000 (14:30 +0000)]
Rename noBuiltins to builtins and invert logic.

14 years agoAdd better comments for main()
Max Okumoto [Sun, 19 Jun 2005 14:30:02 +0000 (14:30 +0000)]
Add better comments for main()

14 years agoo cleanup usage of outOfDate variable.
Max Okumoto [Sun, 19 Jun 2005 14:29:42 +0000 (14:29 +0000)]
o cleanup usage of outOfDate variable.

14 years agoremove conditional to get required macros
Simon Schubert [Sat, 18 Jun 2005 19:05:02 +0000 (19:05 +0000)]
remove conditional to get required macros

14 years agoWe are in callout_stop, not callout_reset. Tell that to the world.
Eirik Nygaard [Sat, 18 Jun 2005 12:56:41 +0000 (12:56 +0000)]
We are in callout_stop, not callout_reset. Tell that to the world.

14 years agoPass DEFSHELLNAME into Shell_Init(), and remove the dependency of
Max Okumoto [Sat, 18 Jun 2005 09:01:12 +0000 (09:01 +0000)]
Pass DEFSHELLNAME into Shell_Init(), and remove the dependency of
shell.o on the Makefile.

14 years agoUse csh for {foo,bar} filename substitutions.
Sascha Wildner [Fri, 17 Jun 2005 23:17:02 +0000 (23:17 +0000)]
Use csh for {foo,bar} filename substitutions.

14 years agoMop up OLDCARD remains.
Sascha Wildner [Fri, 17 Jun 2005 23:10:11 +0000 (23:10 +0000)]
Mop up OLDCARD remains.

14 years agoAdd a few highlevel comments in main, describing what variables should be set.
Max Okumoto [Fri, 17 Jun 2005 22:22:44 +0000 (22:22 +0000)]
Add a few highlevel comments in main, describing what variables should be set.

14 years ago- Document mined(1) key bindings
Liam J. Foy [Fri, 17 Jun 2005 21:06:21 +0000 (21:06 +0000)]
- Document mined(1) key bindings

Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>

14 years agoAbstract out the location of an m_tag's data by adding a m_tag_data() inline.
Matthew Dillon [Fri, 17 Jun 2005 19:12:23 +0000 (19:12 +0000)]
Abstract out the location of an m_tag's data by adding a m_tag_data() inline.
Replace all instances of 'mtag + 1' with the new inline.

Fix numerous bugs, mainly in ipfw/ipfw2, where the m_tag data was being stored
in the wrong place and corrupting the m_tag, resulting in a panic.  This
primarily occured with the use of divert rules.

Reported-by: Ben Woolley <tautolog@gmail.com>
14 years agoWhen cleaning an mbuf header for reinsertion into the objcache, make sure
Matthew Dillon [Fri, 17 Jun 2005 18:58:02 +0000 (18:58 +0000)]
When cleaning an mbuf header for reinsertion into the objcache, make sure
m_pkthdr.tags is reset.

14 years agotake cvs 1.12.11 sources out of duty
Simon Schubert [Fri, 17 Jun 2005 14:59:07 +0000 (14:59 +0000)]
take cvs 1.12.11 sources out of duty

14 years agoBetter comment for chdir_verify_path()
Max Okumoto [Fri, 17 Jun 2005 10:27:53 +0000 (10:27 +0000)]
Better comment for chdir_verify_path()

14 years agoStyle(9) - add blank line before first statement in a function.
Max Okumoto [Fri, 17 Jun 2005 08:49:49 +0000 (08:49 +0000)]
Style(9) - add blank line before first statement in a function.

14 years agoRemove extra white space.
Max Okumoto [Fri, 17 Jun 2005 08:11:28 +0000 (08:11 +0000)]
Remove extra white space.

14 years agoRemove spaces infront of tabs.
Max Okumoto [Fri, 17 Jun 2005 07:54:24 +0000 (07:54 +0000)]
Remove spaces infront of tabs.

14 years agoFix order of functions Shell_Init() uses ShellMatch()
Max Okumoto [Fri, 17 Jun 2005 07:50:49 +0000 (07:50 +0000)]
Fix order of functions Shell_Init() uses ShellMatch()

14 years agoReduce diffs
Max Okumoto [Thu, 16 Jun 2005 23:33:15 +0000 (23:33 +0000)]
Reduce diffs

14 years agoSome more style(9) stuff and took some comment from FreeBSD.
Max Okumoto [Thu, 16 Jun 2005 23:11:42 +0000 (23:11 +0000)]
Some more style(9) stuff and took some comment from FreeBSD.

14 years agoFix some style(9) errors.
Max Okumoto [Thu, 16 Jun 2005 23:06:56 +0000 (23:06 +0000)]
Fix some style(9) errors.

14 years agoFreeBSD-Date: 2005/06/14 12:50:52
Max Okumoto [Thu, 16 Jun 2005 22:59:15 +0000 (22:59 +0000)]
FreeBSD-Date: 2005/06/14 12:50:52
Author: ru

Markup and wording fixes.
Approved by:   re (blanket)

14 years agoFreeBSD-Date: 2005/05/25 17:06:14
Max Okumoto [Thu, 16 Jun 2005 22:46:48 +0000 (22:46 +0000)]
FreeBSD-Date: 2005/05/25 17:06:14
Author: harti

Under certain conditions the condition parser would go one past end of
the string. Until now this caused no harm, because the buffer code used
to tack two NULs onto buffers. With the new, soon to come, parsing code
this isn't the case anymore in all cases, so fix this.

14 years agoReorder functions to reduce determining what harti did.
Max Okumoto [Thu, 16 Jun 2005 22:35:15 +0000 (22:35 +0000)]
Reorder functions to reduce determining what harti did.

14 years agoFreeBSD-Date: 2005/05/25 09:46:31
Max Okumoto [Thu, 16 Jun 2005 22:02:36 +0000 (22:02 +0000)]
FreeBSD-Date: 2005/05/25 09:46:31
Author: harti

Document why there is a dependency of certain object files from the
Makefile.

Requested by:   ru

14 years agoFreeBSD-Date: 2005/05/24 16:48:10
Max Okumoto [Thu, 16 Jun 2005 21:50:50 +0000 (21:50 +0000)]
FreeBSD-Date: 2005/05/24 16:48:10
Author: harti

Make shell.o dependend on the Makefile just in case someone changes
the default shell in the Makefile.

14 years agoFreeBSD-Date: 2005/05/24 16:45:11
Max Okumoto [Thu, 16 Jun 2005 21:47:38 +0000 (21:47 +0000)]
FreeBSD-Date: 2005/05/24 16:45:11
Author: harti

Fix a 64-bit warning by casting an int64_t to intmax_t and printing it
with %jd.

14 years ago- Make rwhod now use poll(2) instead of signals
Liam J. Foy [Thu, 16 Jun 2005 21:39:50 +0000 (21:39 +0000)]
- Make rwhod now use poll(2) instead of signals

If anyone can test this further than me, please do!

Taken from: OpenBSD with my timing modifications
Reviewed by: Joerg@

14 years agoRemove all remaining SPL code. Replace the mtd_cpl field in the machine
Matthew Dillon [Thu, 16 Jun 2005 21:12:49 +0000 (21:12 +0000)]
Remove all remaining SPL code.  Replace the mtd_cpl field in the machine
dependant thread structure and the CPL field in the interrupt stack frame
with dummies (so structural sizes do not change, yet).  Remove all interrupt
handler SPL mask and mask pointer code.  Remove all spl*() functions except
for splz().

Note that doreti uses a temporary CPL mask internally to accumulate a bitmap
of FAST interrupts which could not be executed due to not being able to get
the BGL.  This mask has no outside visibility.

Note that gd_fpending and gd_ipending still exist to support critical section
interrupt deferment.

14 years agoRenamed ProcExec() to Proc_Exec() to follow code conventions in make.
Max Okumoto [Thu, 16 Jun 2005 20:51:04 +0000 (20:51 +0000)]
Renamed ProcExec() to Proc_Exec() to follow code conventions in make.

Noticed by harti

14 years agoSome DDEFSHELLNAME cleanups noted by harti
Max Okumoto [Thu, 16 Jun 2005 20:44:13 +0000 (20:44 +0000)]
Some DDEFSHELLNAME cleanups noted by harti

14 years agoFreeBSD-Date: 2005/05/24 14:14:23
Max Okumoto [Thu, 16 Jun 2005 20:42:58 +0000 (20:42 +0000)]
FreeBSD-Date: 2005/05/24 14:14:23
Author: harti

Another shell attribute 'unsetenv' that will cause to unsetenv("ENV")
before executing the shell. Until now this was done when the default
shell was the ksh. This failed if the default shell was sh or csh and
the user switched to ksh.

14 years agoMoved free() out of both branches of if statement.
Max Okumoto [Thu, 16 Jun 2005 20:39:13 +0000 (20:39 +0000)]
Moved free() out of both branches of if statement.

Noticed by harti.

14 years agoFreeBSD-Date: 2005/05/24 11:59:08
Max Okumoto [Thu, 16 Jun 2005 20:33:12 +0000 (20:33 +0000)]
FreeBSD-Date: 2005/05/24 11:59:08
Author: harti

Describe the meta and builtins attributes for the .SHELL special
target.

14 years agoFreeBSD-Date: 2005/05/24 11:55:00
Max Okumoto [Thu, 16 Jun 2005 20:32:41 +0000 (20:32 +0000)]
FreeBSD-Date: 2005/05/24 11:55:00
Author: harti

Describe the -x option and the .WARN pseudo-target.

14 years agoAdd meta to free routine
Max Okumoto [Thu, 16 Jun 2005 20:29:23 +0000 (20:29 +0000)]
Add meta to free routine

Ideas taken from Harti's work
FreeBSD-Date: 2005/05/24 08:45:49

14 years agoUse new meta and builtins fields, to process command to be executed.
Max Okumoto [Thu, 16 Jun 2005 20:28:52 +0000 (20:28 +0000)]
Use new meta and builtins fields, to process command to be executed.

Ideas taken from Harti's work
FreeBSD-Date: 2005/05/24 08:45:49

14 years agoRestructure .SHELL parser
Max Okumoto [Thu, 16 Jun 2005 20:27:53 +0000 (20:27 +0000)]
Restructure .SHELL parser

Ideas taken from Harti's work
FreeBSD-Date: 2005/05/24 08:45:49

14 years agoAdd Shell_Dump()
Max Okumoto [Thu, 16 Jun 2005 20:27:17 +0000 (20:27 +0000)]
Add Shell_Dump()

Taken from Harti's work
FreeBSD-Date: 2005/05/24 08:45:49

14 years agoAdd meta and builtins to ShellMatch()
Max Okumoto [Thu, 16 Jun 2005 20:26:27 +0000 (20:26 +0000)]
Add meta and builtins to ShellMatch()

Ideas taken from Harti's work
FreeBSD-Date: 2005/05/24 08:45:49

14 years agospl->critical section conversion.
Matthew Dillon [Thu, 16 Jun 2005 17:55:58 +0000 (17:55 +0000)]
spl->critical section conversion.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:39:54 +0000 (16:39 +0000)]
Convert to critical sections.

14 years agoConvert to critical section.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:31:34 +0000 (16:31 +0000)]
Convert to critical section.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:29:39 +0000 (16:29 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:21:30 +0000 (16:21 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:18:06 +0000 (16:18 +0000)]
Convert to critical sections.

14 years agospl->critical section conversion.
Matthew Dillon [Thu, 16 Jun 2005 16:08:58 +0000 (16:08 +0000)]
spl->critical section conversion.

14 years agoLet the compiler decide what code should be inlined and what not.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:04:28 +0000 (16:04 +0000)]
Let the compiler decide what code should be inlined and what not.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:06:40 +0000 (16:06 +0000)]
Convert to critical sections.

14 years agospl->critical section conversion. Also fixes a missed spl in DGM.
Matthew Dillon [Thu, 16 Jun 2005 16:03:12 +0000 (16:03 +0000)]
spl->critical section conversion.  Also fixes a missed spl in DGM.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 16:00:11 +0000 (16:00 +0000)]
Convert to critical sections.

14 years agospl->critical section conversion.
Matthew Dillon [Thu, 16 Jun 2005 15:53:38 +0000 (15:53 +0000)]
spl->critical section conversion.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 15:51:34 +0000 (15:51 +0000)]
Convert to critical sections.

14 years agoRip out bad spl manipulating junk from mpt and clean it up.
Matthew Dillon [Thu, 16 Jun 2005 15:48:59 +0000 (15:48 +0000)]
Rip out bad spl manipulating junk from mpt and clean it up.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Thu, 16 Jun 2005 15:38:36 +0000 (15:38 +0000)]
Convert to critical sections.

14 years agoRemove now unused variables.
Joerg Sonnenberger [Thu, 16 Jun 2005 14:51:55 +0000 (14:51 +0000)]
Remove now unused variables.

14 years agoCorrect some spelling errors
Max Okumoto [Thu, 16 Jun 2005 08:38:24 +0000 (08:38 +0000)]
Correct some spelling errors

Pointed out by Jonathon McKitrick

14 years agoAdd notes how to get xauth forwarding going with pkgsrc
Simon Schubert [Thu, 16 Jun 2005 08:14:02 +0000 (08:14 +0000)]
Add notes how to get xauth forwarding going with pkgsrc

14 years agoThe callout timer init code was using { SI_SUB_CPU , SI_ORDER_FIRST }.
Matthew Dillon [Thu, 16 Jun 2005 04:43:27 +0000 (04:43 +0000)]
The callout timer init code was using { SI_SUB_CPU , SI_ORDER_FIRST }.
Recent changes to conf/files caused the kernel to reorder the timer init
to prior the SMP cpu init, causing the timer init to believe that only
one cpu existed.

Fix the ordering by setting it to SI_ORDER_SECOND.

14 years ago- Small message
Liam J. Foy [Wed, 15 Jun 2005 21:29:21 +0000 (21:29 +0000)]
- Small message

14 years ago1) When randomly placing ships, allow them to be anywhere on the board
Sascha Wildner [Wed, 15 Jun 2005 20:59:13 +0000 (20:59 +0000)]
1) When randomly placing ships, allow them to be anywhere on the board
   instead of unconditionally restricting the range of the random number
   by the ship's length.

2) Fix an off by one error in checkplace(). The ship starts on the current
   position.

Fix 1 submitted by: Craig Dooley <xlnxminusx@gmail.com>

14 years agoConvert to critical sections.
Joerg Sonnenberger [Wed, 15 Jun 2005 19:29:30 +0000 (19:29 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Wed, 15 Jun 2005 18:46:54 +0000 (18:46 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections. Rename a local variable from s to i,
Joerg Sonnenberger [Wed, 15 Jun 2005 18:29:30 +0000 (18:29 +0000)]
Convert to critical sections. Rename a local variable from s to i,
since it is now only used as index.

14 years agoFix memory leak, I forgot to free the path when releasing the shell object.
Max Okumoto [Wed, 15 Jun 2005 18:01:47 +0000 (18:01 +0000)]
Fix memory leak, I forgot to free the path when releasing the shell object.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Wed, 15 Jun 2005 17:12:24 +0000 (17:12 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Wed, 15 Jun 2005 16:32:58 +0000 (16:32 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections. Stop messing with the interrupt masks.
Joerg Sonnenberger [Wed, 15 Jun 2005 12:27:20 +0000 (12:27 +0000)]
Convert to critical sections. Stop messing with the interrupt masks.

14 years agoConvert to critical sections. Drop a splz.
Joerg Sonnenberger [Wed, 15 Jun 2005 11:56:03 +0000 (11:56 +0000)]
Convert to critical sections. Drop a splz.

14 years agoFix another bunch of missing ether_ifdetach calls.
Joerg Sonnenberger [Wed, 15 Jun 2005 11:35:22 +0000 (11:35 +0000)]
Fix another bunch of missing ether_ifdetach calls.

14 years agoMissing ether_ifdetach in error path.
Joerg Sonnenberger [Wed, 15 Jun 2005 11:15:37 +0000 (11:15 +0000)]
Missing ether_ifdetach in error path.

Noticed-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoRemove illegal parens from #ifndef.
Matthew Dillon [Wed, 15 Jun 2005 09:26:10 +0000 (09:26 +0000)]
Remove illegal parens from #ifndef.

14 years agoBetter comment for fields in Shell object, and add additional fields
Max Okumoto [Wed, 15 Jun 2005 08:04:42 +0000 (08:04 +0000)]
Better comment for fields in Shell object, and add additional fields
for meta and builtin keywords.

FreeBSD-Date: 2005/05/24 08:45:49