dragonfly.git
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

14 years agoBetter function description for Compat_RunCommand()
Max Okumoto [Wed, 15 Jun 2005 07:48:17 +0000 (07:48 +0000)]
Better function description for Compat_RunCommand()

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

14 years agoRemove extraneous closing brace.
Jeroen Ruigrok/asmodai [Wed, 15 Jun 2005 07:15:03 +0000 (07:15 +0000)]
Remove extraneous closing brace.

Noticed by: Sepherosa Ziehau

14 years agoNuke compatiblity parts.
Joerg Sonnenberger [Tue, 14 Jun 2005 21:19:19 +0000 (21:19 +0000)]
Nuke compatiblity parts.

14 years agotypo
Joerg Sonnenberger [Tue, 14 Jun 2005 20:41:24 +0000 (20:41 +0000)]
typo

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

14 years agoConvert to critical sections. Stop updating interrupt masks.
Joerg Sonnenberger [Tue, 14 Jun 2005 19:42:08 +0000 (19:42 +0000)]
Convert to critical sections. Stop updating interrupt masks.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 19:34:26 +0000 (19:34 +0000)]
Convert to critical sections.

14 years agoForgotten from the ALTQ conversion.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:37:26 +0000 (18:37 +0000)]
Forgotten from the ALTQ conversion.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:30:55 +0000 (18:30 +0000)]
Convert to critical sections.

14 years agoUse if_printf.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:15:37 +0000 (18:15 +0000)]
Use if_printf.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:09:47 +0000 (18:09 +0000)]
Convert to critical sections.

14 years agoUse if_printf for TUNDEBUG.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:43:01 +0000 (17:43 +0000)]
Use if_printf for TUNDEBUG.

14 years agosimplify.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:38:36 +0000 (17:38 +0000)]
simplify.

14 years agoConvert to critical sections. Be a bit more conservative for now.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:34:29 +0000 (17:34 +0000)]
Convert to critical sections. Be a bit more conservative for now.

14 years agoAdd additional sanity checks, remove unused arguments to vm_page_startup().
Matthew Dillon [Tue, 14 Jun 2005 17:16:00 +0000 (17:16 +0000)]
Add additional sanity checks, remove unused arguments to vm_page_startup().

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:05:58 +0000 (17:05 +0000)]
Convert to critical sections.

14 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 17:01:17 +0000 (17:01 +0000)]
- convert to critical sections
- hook up bus_setup_intr last

14 years agoRemove pcic(4) manpage. This was updated by mistake.
Sascha Wildner [Tue, 14 Jun 2005 16:50:43 +0000 (16:50 +0000)]
Remove pcic(4) manpage. This was updated by mistake.

14 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 16:47:38 +0000 (16:47 +0000)]
- convert to critical sections
- hook up interrupt last in gx_attach
- use gx_detach as common error path

14 years agoAdd missing breaks.
Joerg Sonnenberger [Tue, 14 Jun 2005 16:35:42 +0000 (16:35 +0000)]
Add missing breaks.

14 years agoCorrect item lists.
Sascha Wildner [Tue, 14 Jun 2005 16:29:03 +0000 (16:29 +0000)]
Correct item lists.

14 years agoFix controller names.
Sascha Wildner [Tue, 14 Jun 2005 16:24:34 +0000 (16:24 +0000)]
Fix controller names.

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

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

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

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:11:23 +0000 (15:11 +0000)]
Convert to critical sections.

14 years agoUse PCI accessor functions and nuke the port / memory enabling.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:08:16 +0000 (15:08 +0000)]
Use PCI accessor functions and nuke the port / memory enabling.

14 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 15:01:58 +0000 (15:01 +0000)]
- convert to critical sections
- hook up interrupt last, use M_WAITOK for contigmalloc
- use lge_detach as common error path

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 14:44:42 +0000 (14:44 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 14:35:05 +0000 (14:35 +0000)]
Convert to critical sections.

14 years agoResource allocate now turns on port / memory bit in the PCI command reg,
Joerg Sonnenberger [Tue, 14 Jun 2005 14:19:22 +0000 (14:19 +0000)]
Resource allocate now turns on port / memory bit in the PCI command reg,
so stop doing it by hand.

14 years agoUse local storage instead of ac_enaddr in ti_attach.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:53:25 +0000 (13:53 +0000)]
Use local storage instead of ac_enaddr in ti_attach.

14 years agoNo interrupts, no M_NOWAIT.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:42:14 +0000 (13:42 +0000)]
No interrupts, no M_NOWAIT.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoHook up interrupt last. Use ti_detach as common error path.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:41:15 +0000 (13:41 +0000)]
Hook up interrupt last. Use ti_detach as common error path.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoFix an uninitialised variable I introduced earlier.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:36:42 +0000 (13:36 +0000)]
Fix an uninitialised variable I introduced earlier.

14 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:36:00 +0000 (13:36 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agodevice_printf / if_printf
Joerg Sonnenberger [Tue, 14 Jun 2005 13:34:52 +0000 (13:34 +0000)]
device_printf / if_printf

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agostatic != extern
Joerg Sonnenberger [Tue, 14 Jun 2005 13:25:40 +0000 (13:25 +0000)]
static != extern

14 years agoUse local storage instead of ac_enaddr.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:46:31 +0000 (12:46 +0000)]
Use local storage instead of ac_enaddr.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse local storage instead of ac_enaddr in tl_attach.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:42:00 +0000 (12:42 +0000)]
Use local storage instead of ac_enaddr in tl_attach.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:38:37 +0000 (12:38 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agodevice_printf / if_printf
Joerg Sonnenberger [Tue, 14 Jun 2005 12:38:04 +0000 (12:38 +0000)]
device_printf / if_printf

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoNuke compat code.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:33:44 +0000 (12:33 +0000)]
Nuke compat code.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agoUse ether_crc32_be.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:30:19 +0000 (12:30 +0000)]
Use ether_crc32_be.

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

14 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:26:31 +0000 (12:26 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
14 years agodevice_printf / if_printf.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:25:32 +0000 (12:25 +0000)]
device_printf / if_printf.

14 years agoEnable port and memory-mapped IO in the PCI layer when the associated
Joerg Sonnenberger [Tue, 14 Jun 2005 12:24:04 +0000 (12:24 +0000)]
Enable port and memory-mapped IO in the PCI layer when the associated
resources are allocated.

Obtained-from: FreeBSD

14 years agoNuke code dealing with empty address list or trying to set the link-layer
Joerg Sonnenberger [Tue, 14 Jun 2005 11:41:37 +0000 (11:41 +0000)]
Nuke code dealing with empty address list or trying to set the link-layer
address by hand.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:27:28 +0000 (11:27 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:08:40 +0000 (11:08 +0000)]
Convert to critical sections.

14 years agoRemove old attempt at locking, it was incomplete and partially incorrect.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:05:47 +0000 (11:05 +0000)]
Remove old attempt at locking, it was incomplete and partially incorrect.
Remove global variable to share state between probe and attach.
Convert to critical sections.
Use my_detach as common error path for my_attach.
Hook up interrupt last.
Remove conditionalized code which doesn't apply (anymore).

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 23:03:15 +0000 (23:03 +0000)]
Convert to critical sections.

14 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 22:55:15 +0000 (22:55 +0000)]
- convert to critical sections
- rewrite error handling in attach
- hook up interrupt last

14 years agoMerge from vendor branch CVS:
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
Merge from vendor branch CVS:
update cvs to 1.12.12

14 years agoupdate cvs to 1.12.12
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
update cvs to 1.12.12

14 years agoupdate cvs to 1.12.12
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
update cvs to 1.12.12

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:27:52 +0000 (22:27 +0000)]
Convert to critical sections.

14 years agoFix mismatched crit_*() pair.
Matthew Dillon [Mon, 13 Jun 2005 22:21:39 +0000 (22:21 +0000)]
Fix mismatched crit_*() pair.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:18:44 +0000 (22:18 +0000)]
Convert to critical sections.

14 years agoUse critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:14:17 +0000 (22:14 +0000)]
Use critical sections.

14 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 22:10:56 +0000 (22:10 +0000)]
- convert to critical sections
- hook up interrupt last
- use M_WAITOK for contigmalloc
- use dc_detach as common error path

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:53:24 +0000 (21:53 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:44:40 +0000 (21:44 +0000)]
Convert to critical sections.

14 years agoFix build.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:39:14 +0000 (21:39 +0000)]
Fix build.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:38:12 +0000 (21:38 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections. Use bge_detach as common error path
Joerg Sonnenberger [Mon, 13 Jun 2005 21:24:03 +0000 (21:24 +0000)]
Convert to critical sections. Use bge_detach as common error path
in bge_attach and fix some bugs on the way. Use M_WAITOK now
that interrupts are no longer an issue there. Allow this by hooking
up the interrupt last.

14 years agoConvert to critical sections. Add a missing ether_ifdetach when
Joerg Sonnenberger [Mon, 13 Jun 2005 21:07:55 +0000 (21:07 +0000)]
Convert to critical sections. Add a missing ether_ifdetach when
bus_setup_intr failed.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:51:17 +0000 (20:51 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:36:45 +0000 (20:36 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:30:45 +0000 (20:30 +0000)]
Convert to critical sections.

14 years agoRemove compatiblity code.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:25:56 +0000 (20:25 +0000)]
Remove compatiblity code.

14 years agoNo interrupts, no M_NOWAIT. Use M_WAITOK instead.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:09:24 +0000 (20:09 +0000)]
No interrupts, no M_NOWAIT. Use M_WAITOK instead.

14 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 20:07:38 +0000 (20:07 +0000)]
- convert to critical sections
- setup interrupt last, avoid having to deal with ISRs
- use nge_detach as common error handling path

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 19:21:19 +0000 (19:21 +0000)]
Convert to critical sections.

14 years agoMissed one splnet.
Joerg Sonnenberger [Mon, 13 Jun 2005 19:19:19 +0000 (19:19 +0000)]
Missed one splnet.

14 years agoUpdate pcic(4) and add more NEWCARD manpages.
Sascha Wildner [Mon, 13 Jun 2005 19:17:29 +0000 (19:17 +0000)]
Update pcic(4) and add more NEWCARD manpages.

14 years agoConvert to critical sections. Remove compat junk. Hook up interrupt
Joerg Sonnenberger [Mon, 13 Jun 2005 19:05:19 +0000 (19:05 +0000)]
Convert to critical sections. Remove compat junk. Hook up interrupt
last. This fixes a missing interrupt teardown under error conditions.

14 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 18:43:58 +0000 (18:43 +0000)]
- convert to critical sections
- setup interrupt last in pcn_attach
- use pcn_detach for common error handling

14 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 18:13:20 +0000 (18:13 +0000)]
Convert to critical sections.

14 years agoConvert to critical sections. Fix an early return without restoring
Joerg Sonnenberger [Mon, 13 Jun 2005 18:11:52 +0000 (18:11 +0000)]
Convert to critical sections. Fix an early return without restoring
interrupt protection in the progress of the conversion.