Commit Graph

5436 Commits

Author SHA1 Message Date
fvdl 6b7332c86b The local APIC registers are defined for 32bit access only, so don't
use movzbl on them.
2002-10-01 19:36:51 +00:00
fvdl bb7657559b Don't use pool(9) for TLB shootdown queue elements. Recent pool
changes made the usage here clash with the pool code, and the
pool code is overkill for this case (fixed number of elements,
always NOWAIT).

Use a simple static freelist allocator instead (pv_list-like).
2002-10-01 19:36:06 +00:00
matt be5fafec51 ANSI'fy the inline functions. 2002-10-01 19:08:51 +00:00
fvdl 1aca7be70a Add cpu0 at mainbus0 2002-10-01 13:29:03 +00:00
fvdl 26ab868e68 Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
2002-10-01 12:56:36 +00:00
dbj 818445e944 recognize FS_APPLEUFS partitions
part of PR #17345
2002-09-28 01:17:09 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej 6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
grant 8dca22997c ep0 at isa? -> ep* (ala GENERIC), so ep instances during install are
consistent with GENERIC.
2002-09-26 07:30:17 +00:00
thorpej 71404bb533 Don't include <sys/map.h>. 2002-09-25 22:21:01 +00:00
martti 81e8d78cd4 Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK" 2002-09-25 11:49:48 +00:00
pooka d623a21172 iwic@pci 2002-09-24 22:07:46 +00:00
gmcgarry 627c1b14f8 Back-out previous. 2002-09-23 21:35:42 +00:00
simonb 4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
simonb 63096043b3 Use "#define\t" instead of "#define ". 2002-09-22 08:30:56 +00:00
chs c081614ea2 it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not.  doh.
2002-09-22 07:53:39 +00:00
chs 55e1f79335 add pmap_remove_all() hook (empty on most platforms so far). 2002-09-22 07:17:08 +00:00
gmcgarry adc9fb5f5b MD component of the new cpu_switch() interface. Introduces nextrunqueue(),
cpu_idle() and new cpu_switch() to replace the old cpu_switch()
which did the lot.  Runs leaner without overly blocking interrupts.

Includes cleanup of the RAS code to make use of callee-saved registers.

Benchmarks on DX4 @ 100MHz reveal a slight performance improvement
but probably not statistically signficant.  More TBD to verify this.

Changes passed a pounding on Athlon @ 1GHz too.
2002-09-22 06:51:10 +00:00
gmcgarry dca80f08fd Add __HAVE_MD_RUNQUEUE flag for MD code to override MI run queue primitives. 2002-09-22 04:11:32 +00:00
perry 87a452620b change a tab to a space so commenting elansc isn't as ugly 2002-09-21 15:24:29 +00:00
kanaoka c9aa0785fe Add support for "Intel 82801DB LPC".
kern/18348: From Andreas Wrede <andreas@planix.com>.
2002-09-20 14:52:39 +00:00
martti 3b553bac54 Added (commented out) IPFILTER_DEFAULT_BLOCK. 2002-09-20 10:39:48 +00:00
wiz ef50e53177 Fix typo in comment. 2002-09-19 12:00:11 +00:00
lukem 3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
lukem 789c0e4589 these files are managed elsewhere, and are just bitrotting here; remove them. 2002-09-18 02:34:53 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
erh 5a02e1abe2 Adjust the check for what segments should go on the low priority free list.
If a segment starts exactly at 16M don't try to split it because that causes
the code to try to call uvm_page_physload with a zero length segment.
(kern/17199)
2002-09-05 02:43:00 +00:00
augustss 2c1216208f Replace mr with gtp device. 2002-09-03 18:55:47 +00:00
jdolecek ed2badbd21 make vers.c depend on ${SOURCES} and remove .PHONY tag for it, so that it
would only be regenerated if any of the input files changed
2002-09-02 07:33:11 +00:00
gmcgarry 14b302311d RAS support for i386. 2002-08-28 09:47:15 +00:00
lukem fb7bc8541e arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
fredb 750d298cb0 Follow AMD's recommendations for programming the uncachable/write-combine
bits of the K6 cache-control-register: disable the cache; flush the cache;
set the bits; re-enable the cache (all much like programming the pentium
mtrr's). See reference posted to tech-kern; also review there by thorpej.
2002-08-26 22:36:24 +00:00
thorpej 139cdc3125 Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
2002-08-25 20:21:33 +00:00
abs 2287052465 PIPE_SOCKETPAIR, MALLOC_NOINLINE and VNODE_OP_NOINLINE are all appropriate for
the 'minimal memory' configurations.
2002-08-22 14:36:48 +00:00
itojun fe3d104e60 minor KNF 2002-08-13 05:33:51 +00:00
thorpej 17c9690153 The Elan SC520's PIT runs at 1.1892MHz; set TIMER_FREQ so that
time is kept properly.
2002-08-13 02:46:36 +00:00
thorpej 65e781f38c Fix previous (need to add IO_TIMER1 to the register offsets). 2002-08-13 02:42:54 +00:00
itojun f9b8434a5c fix includes (use dev/ic/i8253reg.h) 2002-08-13 02:17:45 +00:00
thorpej 05210534c0 No need for two copies of the i8253 register definitions. Remove the
i386-specific copy, and adjust its users to add in the timer i/o base
as necessary.
2002-08-13 00:50:33 +00:00
thorpej 4b8b317d4b There are other systems besides the PS/2 L40 that enable A20
via the Configuration Port, so restructure the code a little
to allow for them, and list at least one other system that does
(anything based on AMD Elan SC520).

XXX We don't actually check for Elan SC520 yet.
2002-08-12 14:27:34 +00:00
thorpej 156a4a378d Add elansc* at pci? (AMD Elan SC520 System Controller). 2002-08-12 03:28:52 +00:00
thorpej 7d2b11a8b0 Add a driver for the AMD Elan SC520 System Controller. The "elansc"
driver attaches where "pchb" would normally attach (it matches at a
higher match priority).  The "elansc" driver currently provides support
for the watchdog timer built-in the SC520.

Thanks to Jasper Wallace for laying the ground-work for this (most
notably by providing a work-around for a watchdog-related bug in the
SC520).
2002-08-12 01:03:12 +00:00
itojun 951e585780 probe/attach Dell TrueMobile 1150 MiniPCI 802.11b card - not very useful
without external antenna...

cbb0: interruptingaat irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
wi0 at pcmcia0 function 0: Dell, TrueMobile 1150 Series PC Card, Version 01.01
wi0: 802.11 address 00:02:2d:6c:db:f6
wi0: using Lucent Embedded WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.10.1)
wi0: supported rates: 1Mbps, 2Mbps, 5.5Mbps, 11Mbps
2002-08-11 16:22:09 +00:00
isaki b9015555de Commented out slhci. it's experimental yet. 2002-08-11 13:50:45 +00:00
isaki 8bf06813d7 Add slhci0, ScanLogic SL811HS/T USB Host Contoller. 2002-08-11 13:26:28 +00:00
thorpej 3721870c9e Add wi* at pci? 2002-08-10 20:20:22 +00:00
minoura 013897f2cc Add quirk for Connectix Virtual PC 5 (for Windows at least) emulated
PCI bridge (440BX).
Note that there's still a problem that emulated 21140 cannot be driven
by if_tlp.  Workaround is to use if_de.
2002-08-10 03:37:40 +00:00
thorpej 7d9de8b2ad PMC_TYPE_I586 -> PMC_CLASS_I586
PMC_TYPE_I686 -> PMC_CLASS_I686
PMC_TYPE_K7 -> PMC_CLASS_K7

To reflect terminilogy used in pmc(3).
2002-08-09 05:28:08 +00:00