Commit Graph

5415 Commits

Author SHA1 Message Date
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
thorpej 7cbc5d60c1 Add macros to encode the "unit number" in the event selector. 2002-08-08 20:40:49 +00:00
thorpej b12f663377 Define new-style PMC types for i586, i686, and K7 performance counters. 2002-08-08 18:37:39 +00:00
tron 38b5f64780 Redo last change. "pmc_evid_t" and "pmc_ctr_t" need to be visible for
userland because they are used in "sys/pmc.h".
2002-08-07 09:45:49 +00:00
tron b145a3fa59 Embed "pmc_evid_t" and "pmc_ctr_t" into "if defined(_KERNEL)" and use
"__uint64_t" from "int_types.h". This fixes "lint" errors while
building "libc".
2002-08-07 09:34:54 +00:00
briggs 64a993291d Stubs for new pmc(9) interface. 2002-08-07 05:58:01 +00:00
briggs d3cfa7ad3b Forward declare structures that are used here. 2002-08-07 05:38:47 +00:00
briggs a27fd9df4d define pmc_evid_t, pmc_ctr_t. 2002-08-07 05:38:24 +00:00
briggs ba45c803fd PERFCTRS is now defflagged in conf/files. 2002-08-07 05:18:21 +00:00
itojun e5b5171ab5 integer overflow. from silvio@qualys.com 2002-08-06 22:46:11 +00:00
grant 3273a7757a add X note comment for INSECURE option.
addresses port-i386/17853 from hclsmith@yahoo.ca.
2002-08-06 12:09:42 +00:00
itojun dc8b2582ca backout previous 2002-08-05 01:16:59 +00:00
itojun 08a994ac23 soekris device use 19200bps on boot, it seems 2002-08-05 01:14:58 +00:00
itojun b41a39617e comment things out for smaller footprint 2002-08-03 15:52:20 +00:00
itojun 8dd04cdcd7 correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls.  from openbsd
2002-08-03 00:12:48 +00:00
ichiro 2543e04449 chenge comment for wi(4)
- add vender Intersil
2002-08-02 05:26:44 +00:00
thorpej 6f79106887 Add dmoverio. 2002-08-02 00:45:37 +00:00
wiz f3de6108f8 Sync (commented out) SHMMAXPGS value with vmparam.h.
Closes port-i386/12708 by Patrick Welche.
2002-07-22 11:05:59 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
thorpej 3912e469dd Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device.  While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
kanaoka 69c8929084 - Disable Interrput before execute AcpiEnterSleepState().
- Add acpi_md_OsDisableInterrupt() for this.
2002-07-18 12:05:11 +00:00
kanaoka 6e5726c8c9 - Enable to enter sleep state S5 with ACPI. 2002-07-17 14:55:42 +00:00