Commit Graph

4187 Commits

Author SHA1 Message Date
thorpej dded044fc2 Update for the NKMEMPAGES changes. 2000-02-11 19:25:12 +00:00
thorpej dc80cc068b Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.

We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM.  However, this change will at
least allow the PR submitter to simply throw resources at the problem.
2000-02-11 07:00:11 +00:00
mycroft a3b8d596d5 Sync with GENERIC. 2000-02-08 03:10:21 +00:00
thorpej 52a2804a5c Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
thorpej fe551f0e64 Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej cb18849e48 Make APM use a kernel thread rather than a callout, and provide a
mutex between the thread and a user process attempting to do APM
operations.
2000-02-07 17:36:59 +00:00
kleink 36e6bc645e Improve namespace test macros a bit. 2000-02-05 14:04:36 +00:00
cgd 253b179629 clean up (group, sort) __HAVE_* defines 2000-02-05 00:07:30 +00:00
minoura a7ec5e9634 Add Cyrix MediaGX(m) identification.
Thanks to INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>.
2000-02-04 14:21:33 +00:00
dante 834e04377c Remove ADW_*_DISABLE options. Now they are described in the adw.4 man page 2000-02-03 20:31:42 +00:00
kleink 82464e46d6 Add a C99-style va_copy macro. 2000-02-03 16:16:06 +00:00
augustss eff80a379b Due to popular demand (hi Bernd), comment out the CardBus entries.
Appearently it doesn't work for some chipsets.  I think the right way
to fix this would be to only let cbb attach to the working chipsets...
2000-02-02 20:39:35 +00:00
augustss 9e8d441535 Add CardBus support. If it breaks anything, I'm sure we'll know soon. :) 2000-02-02 20:17:13 +00:00
augustss 4369c3338a Change the size of the PCMCIA controller memory window to 64K. Several
of the radio LAN cards need it.
2000-02-02 19:48:18 +00:00
minoura 93d494f9a5 Take care of National Geode (Cyrix MediaGX) built-in clock module bug.
Patch supplied by INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>, kern/8654.
2000-02-02 15:26:27 +00:00
thorpej e1aef0ac87 If there is no BIOS32 present, don't try to call into it. 2000-02-02 04:09:37 +00:00
soren f43a171804 Match PNP0510 as well. 2000-02-01 18:33:22 +00:00
tsutsui 11c8f56d48 Revert STRIPPROG -> STRIP 2000-02-01 05:25:24 +00:00
danw f77befbc84 #define __HAVE_DEVICE_REGISTER on ports that have it, and check for
that, rather than a list of architecture defines, in config_attach
2000-02-01 04:01:19 +00:00
drochner f41d426732 nuke this, there is no valuable information anymore 2000-01-26 18:50:18 +00:00
drochner ce2c26e13c next step in getting machdep.c maintainable - put bus_space related
stuff into a separate file
being here, add new Pentium-III processor ID (models with on-die cache)
2000-01-26 18:49:26 +00:00
drochner 799634df70 next step in getting machdep.c maintainable - put bus_space related
stuff into a separate file
2000-01-26 18:47:59 +00:00
tsutsui b0fbaa33fb Remove obsoleted macros. 2000-01-26 09:44:10 +00:00
thorpej 5251f5550d Add ahc at cardbus 2000-01-26 06:47:41 +00:00
drochner 8eb798e603 define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
augustss 0acef2fd69 Allow the set of PCI irqs to be overridden. 2000-01-25 17:20:47 +00:00
augustss 85fcd0b58d Update for the ucom(4) addition. 2000-01-25 08:31:56 +00:00
thorpej 4be7a36436 Add Raytheon RayLink. 2000-01-25 01:50:12 +00:00
mycroft a443bc2758 +IPv6 +Raylink/Aviator 2000-01-25 01:10:50 +00:00
tron 04eb110431 Add "dependall" target for comfort. 2000-01-24 20:36:06 +00:00
augustss 6197c11c41 Add Raytheon Raylink driver. 2000-01-24 01:09:57 +00:00
hubertf 7e5ff67457 Add commented out "ident"-command 2000-01-23 23:46:04 +00:00
mycroft f456106d03 Fix the symlink hack. 2000-01-23 16:45:54 +00:00
mycroft 295c3f303e Fix the symlink hack. 2000-01-23 16:44:18 +00:00
mycroft c26054b799 Delint. 2000-01-22 22:40:58 +00:00
thorpej 52242fdf9f Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:28:59 +00:00
sommerfeld aa195e816f Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
wrstuden 87e1b0f9b7 Add overlay to kernel configs. 2000-01-20 19:12:28 +00:00
christos c6b70bdfe2 Use .PATH.c not .PATH otherwise builds without objdirs fail from biosboot_com0.
Reported by Tron.
2000-01-20 16:51:01 +00:00
drochner 8395a5e928 like com.c, raise DTR/RTS in console initialisation 2000-01-20 15:22:57 +00:00
enami 9d51226cc3 fix typo in comment. 2000-01-20 03:19:27 +00:00
thorpej e92c1387ea G/c unused variable. 2000-01-19 23:06:06 +00:00
thorpej a0397a2573 Move callout initialization to a single location; no need to duplicate
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
tsutsui 644b514c39 Change STRIPFLAGS=-g for cross-toolchains. 2000-01-19 14:44:58 +00:00
thorpej f51f762b8d Update to reflect current reality. 2000-01-18 20:02:32 +00:00
thorpej 0684e6f83b - Use b_cylinder as defined in sys/buf.h
- Add an empty dk_establish()
2000-01-18 19:40:53 +00:00
augustss f7145f672e Add USB-Ethernet adapters. 2000-01-17 17:47:03 +00:00
augustss 6db0de5efb Enable kue driver. 2000-01-17 02:04:01 +00:00
augustss 1ef32571c0 Add some USB Ethernet adapters. 2000-01-16 13:59:38 +00:00
drochner 062970567f catch zeroed ID string (happens for disabled devices) 2000-01-16 03:30:23 +00:00
assar 1f511ff199 (kdb_trap): do not enter DDB on traps when db_onpanic == 0 2000-01-16 01:42:03 +00:00
christos 1b02e0a7db Build biosboot_com0 too. 2000-01-15 01:17:12 +00:00
ad 660d78e477 [#[@ ]]dpt* at eisa? slot ? 2000-01-13 19:10:22 +00:00
drochner 56b8bc14b4 -catch zeroed descriptors and skip nodes with no valid ressources,
needed to deal with disabled nodes
-Parse "fixed io descriptors". Their use in nonsense in principle
 because 10-bit decoding is implied. Hope this is not real...
-Tolerate mismatches between node size and actually used space
 as long as the used size is smaller than the buffer size. There
 is at least one broken BIOS which reports node sizes larger than
 the used one, and windows obviously doesn't complain...
2000-01-12 19:24:02 +00:00
matt 8e5ca16369 Add two missing header files. 2000-01-10 19:28:15 +00:00
matt 1a241d6403 Move the ibcs2 setmachine function here (from compat/ibcs2) since it is
i386 specific.
2000-01-10 03:05:35 +00:00
matt 100b64e3c6 Add some i386 defines. 2000-01-10 03:03:54 +00:00
joda eaa635b930 add (commented out) xe@pcmcia entry 2000-01-09 17:31:56 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
drochner 86fb34705e clarify tss switch: remove bogus symbolic constant, add comment
no functional change
2000-01-06 18:41:24 +00:00
kleink 693059feda const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
by Takahiro Kambe.
2000-01-04 14:20:05 +00:00
itojun 7fe7bda8e2 enable INET6. commit for boot floppy fix should follow.
add awi0 and cnw0 (commented out)
2000-01-04 08:05:49 +00:00
chopps 7d96c007f0 add ntwoc* at pci, and a commented out ntwoc0 at isa. 2000-01-04 06:58:54 +00:00
simonb a58b73afb3 Remove duplicate
#com*  at boca? slave ?
line.
1999-12-31 00:14:56 +00:00
hubertf ac80f7c7ac add disabled entry for options APM_DISABLE_INTERRUPTS=0 1999-12-30 04:18:51 +00:00
itojun 8be54624ce add lines for boca 16-port serial card (BB2016), commented out. 1999-12-26 17:07:23 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
drochner a4cab38506 add rcsid + copyright
one more include file
1999-12-21 16:06:31 +00:00
drochner 5d8a0c0ddd add a function which prints out the memory descriptors (for debugging) 1999-12-21 14:22:54 +00:00
drochner b7b6c4bb4f machdep.c is becoming an unmaintainable mess
put console initialisation into a separate file
1999-12-21 12:34:11 +00:00
augustss d71ddb5075 Add Cirrus Logic CS4280 driver. 1999-12-13 20:22:53 +00:00
drochner d057216913 add parsing of the "32bit memory descriptor" tag type 1999-12-13 20:12:22 +00:00
drochner d9549f09b8 add EGA console support 1999-12-13 16:30:15 +00:00
uch 46fb1c9fce initialize pciirq. 1999-12-13 15:42:05 +00:00
sommerfeld c86b5b3d08 Add new CPU feature flags (up through recent Pentium III and Celerons) 1999-12-13 01:31:30 +00:00
soren 0d5146155c s/16x450/16x50/ 1999-12-12 11:51:29 +00:00
thorpej 2128a07943 Put an interrupt-safe mutex around PCI configuration space access. 1999-12-11 20:48:25 +00:00
sommerfeld 85ba879817 MP: spinlockinit actually takes 3 args, not 4. 1999-12-11 19:39:31 +00:00
joda 3ae2d6605b defopt APM_DISABLE_INTERRUPTS 1999-12-08 16:46:32 +00:00
thorpej 388112cd09 Add nsphyter. 1999-12-07 19:38:54 +00:00
thorpej 1488729b56 Update for reality. 1999-12-07 19:38:36 +00:00
thorpej 28de1b15a4 Add tlp at cardbus, and nsphyter. 1999-12-07 19:37:40 +00:00
ragge 0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
thorpej 4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
thorpej cc0eadd619 Make pmap_main_lock a spin lock, not a sleep lock. 1999-12-03 18:49:37 +00:00
drochner e5bc2ce76f add support for 3c905b-Combo 1999-12-02 13:21:48 +00:00
drochner 262d9092fc add media definition for 100baseTX 1999-12-02 13:20:56 +00:00
drochner 671919edee add consistency check whether the end mark does appear before the
reported number of nodes
1999-11-30 15:54:55 +00:00
drochner ab0574c601 activate "coma bug" workaround for 6x86MX too.
Closes PR port-i386/7538 by darkstar@pgh.net.
1999-11-30 15:22:52 +00:00
drochner b678bca85b Allow loading of kernels larger than (16-1)M.
XXX This is a stopgap fix which can be pulled up to 1.4.x. It only replaces
the arbitrary 16M boundary by an arbitrary 128M boundary. A clean solution
would need changes to the mi loadfile.c parts.
1999-11-30 12:02:13 +00:00
itojun 726970dc8c add cnw* into pcmcia section. 1999-11-29 12:56:25 +00:00
drochner cfabac64f5 fix vm_page initialization for the case where kernel+symbols+tables
exceed 16M
1999-11-24 18:32:50 +00:00
itojun e9a0023b37 bring in content of GENERIC.v6 into GENERIC.
remove GENERIC.v6 file (as it is part of GENERIC now).

"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only).  We may need to think about it again.

if you have problem compiling with INET6 on archs I do not have access to,
please contact me.

XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
matt 1d740db7d2 Not all platform have devices which need isadma. Make the isa_dmainit
call conditional.
1999-11-19 02:40:25 +00:00
tron 6bb7163ea2 Fix typo. 1999-11-17 20:41:27 +00:00
thorpej 7f28924acc If we see a bogus $PIR table entry, just ignore it. The MPIIX has
entries for the IRQs used by the IDE controller, which aren't really
PCI IRQs (they're ISA compat IRQs), and thus have link values that
don't make a lot of sense.
1999-11-17 18:55:15 +00:00
soren b4c9eea282 Add newline in debug printf. 1999-11-17 12:34:52 +00:00
thorpej 3f761bc3a7 Enable PCI bus renumbering, and add some CardBus Ethernet cards. 1999-11-17 07:34:48 +00:00
thorpej 11d76dfece Add PCI bus renumbering code. 1999-11-17 07:34:15 +00:00