Commit Graph

4394 Commits

Author SHA1 Message Date
thorpej e84ce772ff Add some MSR-related calls. From FreeBSD. 2000-03-24 19:07:12 +00:00
thorpej b05796c812 Add some Model Specific Register definitions. From FreeBSD. 2000-03-24 19:06:07 +00:00
ad 9753adee2f Previous was incomplete. Tsk. 2000-03-23 13:49:49 +00:00
thorpej b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
ws 7da71e5f9e Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.
2000-03-22 20:58:25 +00:00
onoe 5644a7e248 Update awi driver, which now supports AMD 79c930 based 802.11 DS cards
as well as 802.11 FH cards.  Also, it can operate in infrastructure mode,
adhoc mode, and wi(4) (aka WaveLAN/IEEE) compatible adhoc mode.
2000-03-22 11:22:20 +00:00
cgd 7c35662066 add commented out option PCI_CONFIG_DUMP whever there's a PCIVERBOSE. 2000-03-22 00:58:16 +00:00
ad 76505a757a We can boot from "ca" disks. 2000-03-21 19:38:24 +00:00
mycroft cb42a200a1 Add scsibus at esp. 2000-03-19 22:35:43 +00:00
mycroft 1a5e8d741b Add esp at pcmcia. 2000-03-19 22:32:59 +00:00
tron 8caeaa49bd Install "endian_machdep.h" required for "sys/endian.h". 2000-03-17 17:22:57 +00:00
mycroft 9e21b6555a In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft 02905321b2 Foolish consistency. Mainly, always use underscores and sys/endian.h. 2000-03-16 15:09:34 +00:00
ad ce0c2b1962 Attach cac* at pci?, ca* at cac?. Commented out where needs be. 2000-03-16 15:05:18 +00:00
ad d8bd9a762a Make ca(4) useable as a block/boot device. 2000-03-16 14:53:29 +00:00
mycroft 415cbeb83f This code has nothing to do with UCB. 2000-03-16 14:15:26 +00:00
drochner aa1de89bdf explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
2000-03-15 16:44:48 +00:00
fvdl 73797e6d2a Stupid hack: run the apm kthread at 8*hz/7 intervals, not hz. Prevents
the load average from being 1.0 or higher constantly.

XXX really need a better way of calculating the load average.
2000-03-15 09:30:11 +00:00
fvdl 20b063e782 Add new files for common ahc EISA/VL code. 2000-03-15 02:10:41 +00:00
fvdl bb8265c6be Update ISA/VL frontend for new ahc driver (done by Noriyuki Soda). 2000-03-15 02:05:19 +00:00
augustss 072f9f5b69 Some whitespace changes. 2000-03-14 22:37:55 +00:00
oster 1bad2e1909 Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[].  Needed for / on RAID.
(Whoops!  I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren 95054da1a1 Fix doubled 'the's in comments. 2000-03-13 23:52:25 +00:00
kristerw ce56ba78b7 Make the inline asm conform to what gcc thinks they should look like (per
discussions in http://gcc.gnu.org/ml/gcc-patches/1998-11/msg00004.html)

Approved by fvdl.
2000-03-13 21:10:24 +00:00
martin 8ba340d655 Do the same as biosboot does.
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.
2000-03-13 10:51:22 +00:00
sommerfeld f6ec059d2e add newline at end of last line. 2000-03-12 05:35:37 +00:00
groo 0a77d41f4f clean up lm0 example 2000-03-10 06:03:18 +00:00
soren c70220f2a2 Move PCIIDE_CHANNEL_NAME macro to pciidereg.h. 2000-03-09 20:26:31 +00:00
hubertf f3f4e44c39 fix typo 2000-03-09 16:49:22 +00:00
ad 5af90382c5 Add missing chrtoblktbl entry. 2000-03-09 11:19:30 +00:00
groo 752c98f8ea Add (commented out) lm driver examples 2000-03-09 04:12:42 +00:00
kleink a9ebf7bb8c Define ISO C99 (unsigned) long long (min, max) symbols. 2000-03-07 19:31:49 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
itojun 6ac3fc2a55 beautify APM_DISABLE_INTERRUPTS line (s/options\t/options \t/) 2000-03-06 18:45:42 +00:00
nathanw 2569290833 Now that pnpbios_io_unmap() exists, use it. 2000-03-04 23:08:54 +00:00
mycroft 8781f55d6a Invert the APM_NO_POWER_PRINT flag, and make sure it's off by default. 2000-03-04 21:37:23 +00:00
groo 97be07a6c4 Remove probe/attach for PNP0C02. There are reserved motherboard regions.
Thanks to Adam Glass for catching this.
2000-03-01 20:24:53 +00:00
groo 866ee72838 Add pnpbios_io_unmap 2000-03-01 20:23:55 +00:00
simonb 4eb55e447c Do the "<space><tab>" thing with the RAID_AUTOCONFIG option. 2000-02-29 06:32:20 +00:00
augustss e0573deb3b Another ID for ESS. From Dave Huang <khym@bga.com> 2000-02-28 00:22:33 +00:00
mycroft d128de6bc6 Change miniroot size to 3072. 2000-02-27 20:26:07 +00:00
augustss 6c10d82f8d Add (commented out) PCIBIOS options so people can find them easily. 2000-02-27 16:51:39 +00:00
oster d9c47013b2 Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
itojun 13fc260296 s/options\t/options \t/ for CONS_OVERRIDE line, so that addition/removal of
"#" does not affect indentation.
2000-02-26 17:12:37 +00:00
drochner 0ff2be2565 -make lm78 entry depend on NLM
-add "vmegeneric" entry (the driver is not yet there, but I'm sick of
 the cvs conflicts)
2000-02-25 10:04:38 +00:00
groo f5f2ad429c Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.
2000-02-25 02:17:43 +00:00
ad 815f93520f - Attach dpt0 to the isa bus. Commented out since (a) at any valid address it
conflicts with too much other stuff (b) if I UTSLed correctly, EISA boards
  may be picked up at an "ISA address and an EISA address" - I don't have
  enough info on this yet to fix it (c) a DPT HBA at an address usually
  assigned to wdc0/1 may get detected as a WD100x controller. Some of them can
  emulate a WD100x controller, but the one I tested with doesn't.
- Sync with GENERIC just a little.
2000-02-24 18:49:40 +00:00
chopps db8aeddb5f deal with bios that just say end tag with no end dep
add a lot of skeletal work to pnpbios.
	option to handle events from pnpbios in a thread (e.g., hot-doc)
	add calls for the other pnpbios functions (e.g., send message etc..)
	add most defintions from the pnp doc to new reg file
2000-02-22 15:49:17 +00:00
dbj ef5d25c147 use bios' idea of the basemem size and create the kernel stack
at the top of it instead of hard coding 0x90000
2000-02-22 07:45:04 +00:00
erh 8f03b9a04a Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports. 2000-02-21 20:38:46 +00:00
dbj f4f446cf2c include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END
and IOM_SIZE for ISA memory mapping kludge
2000-02-21 20:06:08 +00:00
chs 6ba0786ed1 several fixes:
1.  in pmap_steal_ptp(), don't trylock the pmap that wants a ptp,
      the caller already has it locked.
  2.  do not panic in pmap_enter() due to memory allocation failures when
      the PMAP_CANFAIL flag is given.  to this end, move all such panics
      from the lower-level routines to pmap_enter() and pmap_growkernel()
      where we can check for this flag.
  3.  add #ifdef DIAGNOSTIC around all panics which are only reachable
      if there's a bug or a hardware error.
2000-02-21 02:01:24 +00:00
groo 024d345241 Add ability to customize I/O region and DAC offset based on pnpbios idstr.
Add CSC0000 id from Dell Latitude CPi.
2000-02-20 22:03:49 +00:00
soren 7fffbf8679 Add a few links to documentation. 2000-02-20 21:42:26 +00:00
nathanw 971144c47f Add ess at pnpbios 2000-02-15 17:14:50 +00:00
nathanw 558d216998 Add pnpbios front end for ESS AudioDrive. 2000-02-15 17:12:54 +00:00
thorpej fd8c03cf44 Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().
2000-02-14 21:42:50 +00:00
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
thorpej 0d79886ad5 Fix up the PCI bus numbering after fixing up interrupts. 1999-11-17 07:33:41 +00:00
thorpej f4b4d4508a Code from UCHIYAMA Yasushi's PCI BIOS patches to renumber the PCI
busses.
1999-11-17 07:32:58 +00:00
jun b2557d295c add:
#options        SOFTDEP         # FFS soft updates support.
1999-11-17 03:56:38 +00:00
thorpej 92fcbce96b Add my laptop's configuration file as an example. 1999-11-17 01:24:49 +00:00
thorpej ad161afb12 Add glue for BIOS32 and PCI BIOS. 1999-11-17 01:22:29 +00:00
thorpej 4bfa60e3d3 Initialize BIOS32 and PCI BIOS as appropriate. 1999-11-17 01:22:09 +00:00
thorpej d6d9fbe240 Interrupt router drivers from UCHIYAMA Yasushi's PCI BIOS patches,
cleaned up and reworked a bit be me.
1999-11-17 01:21:20 +00:00
thorpej 2026e5f71b PCI interrupt routing fixup code, from UCHIYAMA Yasushi's PCI BIOS
patches, cleaned up and heavily reworked by me.  Basic algorithm is
the same, although the code structure is now quite different.

Main differences:
- Initialization path is totally different.
- We use the `compat router' information, if present, to determine which
  PCI ICU driver we should use.
- Fixup configuration headers on devices not on bus 0.
1999-11-17 01:20:38 +00:00
thorpej e345f0f17c Basic interface to the PCI BIOS and PCI Interrupt Routing table, separated
out from UCHIYAMA Yasushi's PCI BIOS patches, and fairly heavily reworked
by me.

Main differences:
- Only use the PCI BIOS to get the config mechanism and interrupt routing
  info for now.  No need to use the BIOS for PCI config access right now,
  since the old mechanism works fine, and this keeps the code smaller.
- PCI BIOS initialization code path is much different.
- Always use the $PIR table if it exists, and only fallback to the
  PCI BIOS 2.1 GetInterruptRouting call if it's not there.

This module does not include any of the fixup code; that is coming
in separate commits.
1999-11-17 01:16:36 +00:00
thorpej 4a98f5856e Basic interface to BIOS32. Separated from UCHIYAMA Yasushi's PCI BIOS
patches and cleaned up a bit.
1999-11-17 00:55:50 +00:00
drochner bb765a3924 "idx" is modified by pnpbios_getnode(); use the original value 1999-11-15 21:50:50 +00:00
augustss 56d687b0e6 Add dev and function locators for the USB host controllers at pci. 1999-11-15 20:10:49 +00:00
dante 6081361f0d Add WDTR, SDTR and TAGQ disable options 1999-11-15 20:03:50 +00:00
fvdl 8bec119fcc Add commented out option SOFTDEP to all GENERIC kernels. 1999-11-15 19:10:44 +00:00
fvdl d116707af0 Add
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix

to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
fvdl 0b1963121a Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O
1999-11-15 18:49:07 +00:00
augustss 3d275209e8 Add dev and function locators to cardbus devices. 1999-11-14 23:21:48 +00:00
soren b0be8ac6ea Match ECP devices as well. 1999-11-14 18:03:38 +00:00
drochner d3d6c8d951 add commented out pnpbios entries 1999-11-14 13:31:04 +00:00
thorpej 158b1a55f1 Add an "index" locator to the pnpbios `bus'. This allows us to wire down
device instances if there are more than one of a given type in the PnP
BIOS device table.

Add a pnpbios attachment for `lpt'.
1999-11-14 02:15:50 +00:00
perry a228a21023 no longer needed 1999-11-13 17:58:41 +00:00
perry 341edec257 make the comment on how to use the cinclude stuff for crypto clearer. 1999-11-13 17:57:28 +00:00
perry 53eda555f4 Integrate the IPv6 bits from GENERIC.v6 1999-11-13 17:54:17 +00:00
soren 0b0e306a89 Add almost-PCI IDE attachment for the Toshiba Portege 3000 series. 1999-11-13 13:39:17 +00:00
thorpej 1946167939 Update for pmap_enter() API change. No functional difference. 1999-11-13 00:30:26 +00:00
kleink c52f431558 Bring high-resolution time interfaces closer to SVR4:
* Change gethrtime() to use mono_time.
* gethrvtime() is defined to return the lwp/process's virtual time;
  use p_rtime augmented with the current runtime.

Reviewed by: christos
1999-11-12 20:45:44 +00:00
drochner f165ee13d2 include "pnpbios" definitions 1999-11-12 18:40:07 +00:00
drochner 59e13361f3 make "i386_isa_chipset" globally visible so it can be used from outside
the "isa" bus, attach "pnpbios" pseudo-bus if configured
1999-11-12 18:39:38 +00:00
drochner 8f5c3d689b add GDT segments for pnpbios use 1999-11-12 18:37:29 +00:00
drochner 2298f7abf4 "pnpbios" pseudo-bus. Reads out device IDs and ressource usage from the
BIOS and attaches devices to it.
While it is potentially able to deal with all the motherboard ISA
devices, it is only used in hairy cases for now - laptop stuff in
particular.
1999-11-12 18:36:46 +00:00
hubertf 83964cc3e3 add (commented out) APM options 1999-11-10 22:39:45 +00:00
drochner 283100a20d clarify diagnostic message about nonstandard/reserved/OEM defined
event codes
1999-11-10 16:55:25 +00:00
drochner 536f716be9 use console_debugger() on CTL-ALT-ESC to honour the ddb.onconsole sysctl 1999-11-10 16:52:14 +00:00
marc e1e554ac35 charles was on drugs. There's no such thing as #elifdef. 1999-11-09 02:25:33 +00:00
mycroft 277394fdd3 Fix WARN_REFERENCES() here for the ELF case. 1999-11-07 07:20:26 +00:00
mycroft 6816b631ab Nit: Make bootrealseg conforming. 1999-11-07 01:06:37 +00:00
mycroft 80173a8cef Enable DHCP by default, rather than BOOTP, as BOOTP is much more likely to
fail (due to option length issues), and DHCP is now prevalent.
1999-11-06 16:23:49 +00:00
enami de37487d49 - Export initrtclock().
- Call it from apm_resume().

This fixes timer problem on some laptop after hybernation (PR#4808).
Reviewd by: fvdl@netbsd.org
1999-11-06 01:14:00 +00:00
drochner db5d01fc72 back out the "ep"/"ex" guessing part of the previous - the check was
removed from the kernel and the device name is only informational now
1999-11-05 22:57:39 +00:00
drochner 8625e61c24 don't check the device name passed by netboot ROMs against the driver
name - drivers change too often, bus attachment information should be
sufficient to identify the boot device
1999-11-05 22:54:43 +00:00
thorpej 718f6380a7 Add tlp, document TLP_MATCH_* options, and add some missing PHYs. 1999-11-05 21:36:21 +00:00
sommerfeld 458feeb836 Add awi 1999-11-04 19:43:13 +00:00
mycroft 3c702c1d8d Recognize the 3c595, and use `ex' for 3c90x now. 1999-11-03 12:38:54 +00:00
mycroft dfc00b5b24 Back out the GDT changes in the previous. Didn't mean to commit that. 1999-11-03 09:55:32 +00:00
mycroft 1ee8f66dfe Picking a few nits...
* The direction flag wasn't set right in the presence of ROMDEBUG.
* There were missing data32's.
* We weren't as careful as we should be with relocations.
1999-11-03 09:28:15 +00:00
drochner e6d27a3a83 correct debug printf() to make it compile with DISK_DEBUG again,
closes PR kern/8718 by Takahiro Kambe
1999-11-02 16:52:25 +00:00
augustss 04235d23f6 Enable fms device again. 1999-11-01 23:27:56 +00:00
augustss 6d6d495cfa Disable fms driver for the moment. 1999-11-01 21:44:35 +00:00
augustss 684aa0605c Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.
1999-11-01 20:43:12 +00:00
joda 74b6d909b1 add fxp CardBus cards 1999-10-31 15:17:03 +00:00
mycroft 093997a6f6 Remove totally gratuitous check on the unit number in dev2bios(). 1999-10-28 05:20:05 +00:00
drochner 353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner 7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00
drochner 0bd36d187b EXEC_ELF32 is already defined in std.i386 1999-10-25 17:13:45 +00:00
itojun 44a06d35fa use "options \t" instead of "options\t\t" to avoid change in column
when you comment an option out.
1999-10-25 16:47:03 +00:00
drochner 4cc6f12c09 Don't let loadfile_machdep.h make it to /usr/include - the i386
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.
1999-10-25 15:12:16 +00:00
drochner e5f51da9de -mask interrupts w/o a handler
-update PIC _after_ the interrupt handler is linked into the chain
This fixes problems with dynamically installed interrupt handlers:
Interrupts were enabled before the handler was installed under some
circumstances (esp. on faster machines), leading to endless interrupt
handling.
1999-10-25 14:49:41 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
fvdl 67eefde8f0 bdevvp returns a locked vnode, so vput it. From Bill Studenmund. 1999-10-18 19:37:28 +00:00
augustss 12cebe3298 Add ohci at cardbus. 1999-10-15 13:16:42 +00:00
haya 6b911855eb add NetBSD ID tag. 1999-10-15 06:43:06 +00:00
haya e5cc414836 add NetBSD ID tag. 1999-10-15 06:42:21 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
jdolecek 7f589dba84 rename the MD Debugger() to cpu_Debugger()
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
drochner 6b98862760 forgot to comment out the orphaned "scsibus" 1999-10-08 13:53:00 +00:00
ad 0d7e968d86 Enable large cursor by default (at least on i386 for the moment), in
response to result of poll on tech-kern.
1999-10-06 23:01:45 +00:00
fvdl a4e89ca2a1 Define CPU_FPU_PRESENT sysctl value. 1999-10-06 20:04:53 +00:00
fvdl 7c0b0a7b1c Add machdep.fpu_present sysctl. 1999-10-06 20:04:26 +00:00
fvdl 7bae87cae4 Set variable i386_fpu_present to 1 if a functional FPU was detected. For
later retrieval by sysctl.
1999-10-06 20:03:51 +00:00
drochner 724d0011ed comment out "ncr* at isa?" (NCR 53C80 - cheap SCSI) in the standard
config files. The probe funktion gives false hits and steps onto
other hardware. (PR port-i386/8361 by cgd and my own experience)
1999-10-06 12:21:43 +00:00
itohy 245053a1af Add "opl at ym" and "mpu at ym".
Fix typos.
1999-10-06 08:13:17 +00:00
mycroft f233c16c58 Sync with reality. 1999-10-05 03:31:43 +00:00
fvdl 5c04333d5d It's legal to mmap pages in the lower part of the stack (< limit), and
use them, so allow this by relaxing the check for it.
1999-10-04 17:36:37 +00:00
thorpej c98787207b Add Megahertz Ethernet/Modem combo card goo. 1999-09-28 18:07:29 +00:00
enami 2230805f45 Add missing backslash. 1999-09-28 09:57:35 +00:00
ad c62af9270a Note DPT controllers as needed. If it looks like a stripped down GENERIC,
it gets it.
1999-09-27 23:59:50 +00:00
kleink 0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
tron dd82f86245 Add Realtek 8129/8139 driver to install kernel as suggested by
Patrick Welche in PR install/8477.
1999-09-23 16:09:13 +00:00
drochner 2576aadde3 add missing break, spotted by Wolfgang Solfrank 1999-09-20 16:07:45 +00:00
ad 117b17fafc Document PCDISPLAY_SOFTCURSOR. 1999-09-19 21:50:05 +00:00
thorpej 11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
thorpej 3b01d1b872 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
drochner 2c0e7cf113 allow to set boot timeout and password, following PR port-i386/8196
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner 3e60c834ed install /boot -r-------- for security reasons 1999-09-10 16:41:10 +00:00
drochner 4486b15211 -make ustarfs optional (enabled per default) for cases where space is
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by  Stephan Thesing.)
1999-09-10 16:38:46 +00:00
drochner 5c48b9a115 improve awaitkey()'s printout for >9 seconds 1999-09-10 16:23:55 +00:00
drochner 2914ef7fd2 sync with changes to if_fxp header,
thanks to <ks@ub.uni-mainz.de> for testing
1999-09-10 09:12:44 +00:00
augustss 14b98cd440 Add uaudio driver. 1999-09-09 12:33:43 +00:00
itohy cd74d2c98b Introduce new option APM_NO_POWER_PRINT which disables printing
power status on the console (if apmd is absent).
Some systems generate APM_POWER_CHANGE events too frequently (more then
once per minute), and printing the status makes single user operations
rather difficult.
1999-09-09 03:52:21 +00:00
kleink 562c87f80e Exclude some code moved here in rev. 1.206 if no npx is configured to make
such kernels link again; addresses PR port-i386/8262 from Ben Harris.
1999-09-08 09:16:47 +00:00
ross 9efd996351 spelling 1999-09-07 18:27:58 +00:00
christos 0b8242ef73 Oops forgot to include new files. 1999-09-07 18:20:40 +00:00