Commit Graph

5431 Commits

Author SHA1 Message Date
mycroft
bfea3f39cb Wire CLKF_BASEPRI() to 0 on this platform. (See tech-kern.) 2002-05-08 18:45:49 +00:00
ad
77e08f053a Add a driver for Adaptec FSA RAID controllers, as often found in Dell
servers. Based on the FreeBSD/OpenBSD versions.
2002-04-26 02:05:07 +00:00
wiz
7ef7b3071d Another options<TAB> -> options<SP><TAB>, noted by Patrick Welche. 2002-04-25 15:22:44 +00:00
atatat
d1b3852365 Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
kleink
8f5a689d48 Attach joy* at eso?. 2002-04-25 00:54:54 +00:00
ad
9a09578e25 Add a driver for ICP-Vortex GDT and Intel Storage RAID controllers. Parts
taken from OpenBSD. Test hardware kindly provided by Intel. This still needs
management bits, and doesn't support older controllers, but that shouldn't
be hard to fix.
2002-04-22 21:05:19 +00:00
wiz
c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
bouyer
618e11b77d Add (commented out) options SIOP_SYMLED 2002-04-18 12:06:11 +00:00
hubertf
0ee29be147 add appropriate description 2002-04-17 23:23:49 +00:00
mycroft
f61e8b1c43 Per PR 13668, add tlp at pci. 2002-04-17 11:52:47 +00:00
mycroft
558b4fb278 Switch from de to tlp by default. 2002-04-17 02:22:41 +00:00
thorpej
eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
wiz
5040dc6d7d Remove last(?) traces of pmsi. 2002-04-16 11:49:54 +00:00
mycroft
69bae7ce64 Add wm. 2002-04-15 15:00:18 +00:00
lukem
fdc8fec66f allow default colours to be overridden by
PCCONS_DEFAULT_FG PCCONS_DEFAULT_SO_FG
	PCCONS_DEFAULT_BG PCCONS_DEFAULT_SO_BG
2002-04-14 14:20:33 +00:00
mycroft
92719d60d8 The functionality of pmsi has been implemented in pms, so it's time for pmsi
to go back where it came from.
2002-04-14 01:42:52 +00:00
mycroft
d4a9baf2b1 Add IR support. 2002-04-13 02:25:27 +00:00
tv
43df8ed28f Add host-OS tools for i386, which end up in the "installation/misc"
directory of the release tree.
2002-04-12 23:11:58 +00:00
mycroft
04d3df6513 Enable AGP GART support by default. 2002-04-12 17:58:17 +00:00
gmcgarry
6e066ba77a Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
haya
cc2da29e03 Correct an error message. 2002-04-10 10:09:31 +00:00
mycroft
98dc552995 Partially explain the magick in proc_trampoline(). 2002-04-09 16:41:08 +00:00
mycroft
1b7015b0ca Remove an ancient and bogus comment relating to BDB. 2002-04-09 16:29:25 +00:00
mycroft
e7dc129161 Add some comments on lgdt().
Also, reload %fs and %gs, since they are now set to the kernel data descriptor.
2002-04-09 16:22:22 +00:00
mycroft
745cd2197b Remove some incredibly self-wanking comments, now that they are documented in
the *appropriate* place.
2002-04-09 16:16:32 +00:00
christos
1303311a31 don't forget to set fs and gs in the signal handler context. this needs
to be pulled up.
2002-04-02 22:33:19 +00:00
augustss
97d7bb77fe Alphabetize. 2002-04-02 20:48:01 +00:00
lukem
d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
gson
c32a17670a When profiling a user process, fuswintr() and suswintr() could store
the value fusubail in the pcb_onfault field of the wrong process if a
profiling timer interrupt happened to occur inside cpu_switch() at a
point where curproc had been updated to point to the new process but
curpcb still pointed to the old one.  trap() would then fail to ignore
any page fault in fuswintr/suswintr and the system would lock up.

This bug only affected systems with kern_clock.c 1.72 or newer, as
earlier versions only call addupc_intr from interrupts that occur in
user mode.  Fixed by assigning to curproc->p_addr->u_pcb.pcb_onfault
instead of curpcb->pcb_onfault, as the former is what trap() checks.
2002-04-02 04:02:32 +00:00
jdolecek
3da0847227 Make work on FPU-less computers again - if FPU is not detected in
npxprobe1(), set npxdna_func to new npxdna_empty(). This function just
returns 0 and thus fallbacks to a T_DNA trap (and math emulate, if present).
This fixes kern/15828 by Masaru Oki, tested on 386DX machine.
Reviewed by Jason Thorpe.

make npxdna_s87() and npxdna_xmm() static
g/c (npx_type == NPX_NONE) test from npxdna_s87(), it's no longer needed
2002-04-01 08:11:56 +00:00
christos
83c2f7aaf5 compat signal array renaming. 2002-03-31 22:21:02 +00:00
christos
72915d7563 use e_trapsignal for consistency. 2002-03-29 17:07:06 +00:00
christos
f4b046d721 make sure that we don't index outside our arrays. 2002-03-29 17:03:27 +00:00
ichiro
4c48b1d851 add url(4) 2002-03-29 04:53:31 +00:00
itojun
3d65e004ef re-enable urlphy 2002-03-29 02:25:21 +00:00
itojun
b000d446a6 urlphy is not known to config(8). need a fix somewhere else. 2002-03-29 01:31:28 +00:00
ichiro
c91c9afdd5 add Realtek RTL8150L USB ethernet driver
url*    at uhub? port ?
urlphy* at mii? phy ?
2002-03-28 21:13:20 +00:00
kanaoka
4081bcf395 Add (missing)pushl/popl for %edi in ENTRY(pxecall_pxenv). 2002-03-27 17:24:22 +00:00
chs
e0a7781fc7 avoid accounting errors in pmap_enter() by only updating the counters
once the operation can no longer fail.  fixes PR 16028.
2002-03-27 04:47:28 +00:00
kanaoka
e42f3e3081 Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
martin
0db68b667b Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.
2002-03-25 16:39:52 +00:00
thorpej
4b6638c0b5 pmap_bootstrap(): Correct arithmetic on pte when advancing past
the newly-allocated msgbuf.  (Note, it happened to work before
because nothing used pte afterwards, but in the event something
is added that does, pte should be correct.)
2002-03-23 18:39:46 +00:00
gmcgarry
3ed7e33e1d Add commented-out default definitions for BASEREG and BASEMEM. 2002-03-23 03:45:04 +00:00
christos
b7acd59d13 Add more debugging code. 2002-03-22 18:41:40 +00:00
christos
c8f14c1d44 remove debugging printf. 2002-03-22 16:41:23 +00:00
christos
2df30ebb25 linux passes the 6th argument in %ebp; handle that so that we can get mmap2
working. Also tell us which syscall has too many args. Thanks Frank!
2002-03-22 14:49:37 +00:00
ross
6a723063ac nonfunctional warning fix: use canonical indirect call syntax 2002-03-20 20:06:51 +00:00
joda
0624e7fe7a add HTT cpu flag, and further split message 2002-03-20 15:59:26 +00:00
thorpej
c0d66944db Make sure we override any optimization options specified by the
user; the boot blocks don't work when built with e.g. -mcpu=i486
(probably due to how branches are aligned in that case, causing
segment boundaries to be crossed).
2002-03-19 22:03:37 +00:00
augustss
2448d257af Add uvscom driver. Untested. 2002-03-19 15:10:21 +00:00
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
christos
f2d8f1aa62 goodbye PS_STRINGS. 2002-03-17 19:16:20 +00:00
he
be17728da0 Also correct the attach flags to enable IO space on the Intel 450NX.
OK'ed by fvdl.
2002-03-16 22:17:27 +00:00
christos
640a59b952 catch-up with stackgap change. 2002-03-16 20:45:43 +00:00
martin
94881fb123 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 16:55:51 +00:00
lukem
cd19d52695 * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
itohy
d5f39a2d9c Add explicit support of OPL3-SA2 (YMF711).
Not well tested....
2002-03-10 13:57:10 +00:00
thorpej
a180cee23b Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.
2002-03-08 20:48:27 +00:00
tsutsui
3c8b0446fe Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
sommerfeld
3406f0a3dd The "gif*" tunnelling interface does everything ipip does.
Move usage example from ipip.4 to gif.4
Excise ipip and stitch up the scars.
2002-03-04 13:24:06 +00:00
thorpej
35abec3c31 Add -Os and -mcpu=i486 to COPTS. Add VNODE_OP_NOINLINE. 2002-03-01 23:42:20 +00:00
thorpej
1addb1955a Default to telling the MI PCI code that rd/line, rd/mult, and wr/inv
commands are OK.
2002-02-28 21:48:05 +00:00
thorpej
f711992b7f Add options GATEWAY. 2002-02-28 17:54:56 +00:00
simonb
4324f37586 Use "#define<tab>". 2002-02-28 03:17:23 +00:00
christos
e8116a8f5b - Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
christos
6b030ee036 - define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
jmcneill
f876e538ae Add options (commented out) for disabling power hooks on the pms and pmsi
PS/2 mouse drivers.
2002-02-27 00:31:12 +00:00
simonb
d9ab16ba2f Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
  are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-02-26 15:13:19 +00:00
thorpej
ca1294612c Remove some globals defined in libsa. 2002-02-24 01:51:04 +00:00
thorpej
75533175a2 Rename to NET4501. 2002-02-20 07:19:50 +00:00
thorpej
889d3fedd3 Sample kernel configuration for a Soekris Engineering net4501
single board computer.
2002-02-20 03:15:35 +00:00
thorpej
f777763ab3 * Rename the pxeboot binary from "pxeboot" to "pxeboot_ia32", since
there are other architectures (e.g. IA64) which also use PXE.
* Get the console right in pxeboot, from Andreas Gustafsson.
* Add a "com0" version of pxeboot, to address the same issue that
  biosboot_com0 addresses.
2002-02-20 03:00:27 +00:00
thorpej
825d4ec152 Increase the reset delay in ex_reset() as per dev/ic/elinkxl.c
Pointed out by Love <lha@stacken.kth.se>
2002-02-19 20:38:28 +00:00
thorpej
dfeaa108c4 Add some comments to make some #if/#else/#endif's more clear. 2002-02-19 20:18:36 +00:00
thorpej
8545d4115b Put the netif driver name in the version banner. 2002-02-19 19:55:01 +00:00
thorpej
1ecb20dd3b Move the individual NIC ROM Makefiles into a subdirectories of
netboot.  Requested by Christos.
2002-02-19 19:49:37 +00:00
wiz
37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
simonb
2d8577fb83 Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
 - Use the above for the __infinity and __nan constants on all
   architectures that use the standard ieee754 representation of
   those constants.
 - Add a single copy of various ieee754 math functions (frexp, isinf,
   isnan, ldexp and modf) that had numerous duplicates among the
   arch-specific directories.
 - Use the above functions on all architectures where the generic C
   versions where used.  Architectures that had local assembly
   routines are untouched (for those functions only).
2002-02-19 13:08:12 +00:00
thorpej
bf6823b1b5 Don't ask bootp() to put a "PXEClient" Vendor Class Identifier option
in the DHCP request.
2002-02-18 17:01:46 +00:00
simonb
b5e0d320af Fix a null pointer dereference if curproc == NULL.
Fixes PR port-i386/15638.
2002-02-18 15:58:02 +00:00
thorpej
77fa5a7974 Pay attention to the file name provided by the DHCP server, using
it rather than the default of "netbsd" if it's in the reply.
2002-02-17 20:14:08 +00:00
thorpej
76ea45942b Cleanup of i386 bootloader building:
* Add separate directories for the individual netboot ROMs and
  always build them.
* Each bootloader Makefile explicitly specifies the start file
  and link address it wishes to use.
* genprom becomes a proper host program.
* Make sure all generated files get cleaned up.
* Set BINDIR in Makefile.inc
* Add compressed image support to pxeboot.
* Make pxeboot use the default serial console speed (9600).
2002-02-17 20:03:05 +00:00
thorpej
45f23105c2 Make this compile again (update for changes to register bit names). 2002-02-17 19:49:58 +00:00
thorpej
bb1c9c42fa Update for new location of the WD80x3 register description. 2002-02-17 19:47:41 +00:00
thorpej
49cec2b141 * Remove a debug-breakpoint that is no longer needed.
* Move the pxe_init() call to when we open the virtual netif.
* Make sure to call pxe_fini() when we close the virtual netif.
2002-02-16 16:52:10 +00:00
thorpej
0aec9f6508 Need private copies of these files for now. 2002-02-16 16:26:23 +00:00
christos
c8e246669c save cr2 for the benefit of linux emulation, and normalize use of pcb
in trap(), i.e. always initialize *pcb and use it instead of doing it
sometimes.
2002-02-16 16:22:03 +00:00
christos
a7986989e7 Improve on fault signal translation. Inspired largely by Robert V. Baron's
wabi patch.
2002-02-16 05:19:26 +00:00
thorpej
8bb2be2987 Add a PXE boot loader. PXE interface code is derived by code
written by Alfred Perlstein, Paul Saab, John Baldwin for FreeBSD.

Still needs some work, but this will load a kernel on a Soekris net4501.

Many thanks to Frank van der Linden and his simulator wizardry for
helping me debug the low-level startup code.
2002-02-16 03:37:39 +00:00
nathanw
382c2e0513 Add a bunch of PNP ID strings that are apparantly for the ESS chips.
Snarfed from a Microsoft document.
2002-02-15 22:06:50 +00:00
chs
b744097a5f allow writing to write-only mappings. fixes PR 3493. 2002-02-14 07:08:02 +00:00
wiz
3cc2ef9997 Update description for icsphy. 2002-02-10 17:36:52 +00:00
jmcneill
a7ff227011 Wups, forgot to add it to some other kernel configs as well. 2002-02-08 01:49:33 +00:00
jmcneill
f7c49dc7e6 Add another pcic at isa attachment. This enables the top PCMCIA slot on
my AST Ascentia 910N, and closes port-i386/11797
2002-02-08 01:47:59 +00:00
tv
e716d57285 Don't spew so much to the console without DEBUG. 2002-02-07 23:23:29 +00:00
jdolecek
104f7c34d6 joyvar.h is now at <dev/ic/joyvar.h> 2002-02-06 21:32:16 +00:00
wiz
2e56fbc7e0 Another <tab> -> <sp><tab> noted by Patrick Welche. 2002-02-06 19:58:02 +00:00
gson
fe2fc5699c Fix the bcea redefinition issue in a different way: instead
of removing the duplicate variables, make sure that any duplicate
variable that has an initial value in libsa also has an initial
value here; this keeps the linker from pulling in the libsa
definition.
2002-02-02 18:53:12 +00:00
jdolecek
f32b3f4f89 Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
wiz
706b8b345a Do '<sp><tab>' instead of '<tab>' for some RAID options.
Noted by Patrick Welche in private mail.
2002-02-01 15:17:04 +00:00
christos
d47da1254f Fix comments. 2002-01-31 17:41:38 +00:00
christos
7ea0ddda43 - fix hex constant in transmeta code to fit 32 bits.
- char assignment should be '\0'
- factor out some common strings
2002-01-31 17:40:51 +00:00
christos
7da411d63b Look for _PIR in addition to $PIR. My libretto L2 now works without
any other kludges.
2002-01-28 23:53:08 +00:00
augustss
ec18ceb107 Keep adv in alphabetical order. 2002-01-28 01:23:32 +00:00
jdolecek
6d265bd894 add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
he
d69be53e42 Add entries for the 'esa at pci' audio driver (ESS Allegro-1 / Maestro-3). 2002-01-24 20:19:46 +00:00
rafal
17abb81d69 One more change resulting from my GDT rearrangement... Since GMACHCALLS_SEL
is always defined now, don't use that to test if we should install the MACH
compat gate; test COMPAT_MACH instead.
2002-01-24 03:20:28 +00:00
gson
11111119ae Make receiving packets work again after struct fxp_rfa grew. 2002-01-24 02:52:15 +00:00
gson
d4da6dc52d Debug printf within #if 0..#endif did not compile if enabled. 2002-01-24 02:44:11 +00:00
gson
69ba1e26ce Remove duplicate definition of global variable bcea which caused
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
rafal
bc2214ed89 Rebuild after my re-arrangement of GDT entries, since this code depends on
the values of GBIOSCODE_SEL and GBIOSDATA_SEL.
2002-01-23 15:05:33 +00:00
rafal
37d3472889 Re-arrange GDT entries somewhat so that: (1) I can reserve the 8th entry for
BIOS-bug-avoidance [fixes part of my own port-i386/11299], and (2) lets you
have APM and COMPAT_MACHO in the kernel at the same time.  Also comments on
the special 8th entry and what else changing some of these values affects.

OK'ed by Frank.
2002-01-23 15:02:34 +00:00
uch
a68b39d7c2 Reset configuration of bridge order before enumerating bridge devices.
This is required when two or more bridges on the same bus, and some of
them are incompletely initialized by BIOS.
Reported by NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
2002-01-22 15:08:53 +00:00
uch
29d84d9a58 Add pci_bridge_foreach (). 2002-01-22 15:07:27 +00:00
jdolecek
ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
martin
f8974bfebe Add support for ITK IX1 PnP cards.
Thanks to Nick Hudson for testing.
2002-01-21 12:31:42 +00:00
oster
39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
augustss
72fd8ca3ac Alphabetize audio attachment. 2002-01-17 16:06:49 +00:00
drochner
113038dfac recognize Athlon model 6 (Palomino) and 7 (Morgan) 2002-01-15 13:34:52 +00:00
augustss
f3b996d67a Add the i830 bridge. 2002-01-14 01:45:54 +00:00
drochner
131f65b2ec -fix new assembler warnings
-add RCS ID
2002-01-13 12:45:54 +00:00
drochner
5245358400 for ELF, put RCSID string into .ident section,
add __KERNEL_RCSID macro which is undefined in case of NO_KERNEL_RCSIDS
2002-01-13 12:44:31 +00:00
manu
eb2b0c03da Added clockctl 2002-01-12 13:22:23 +00:00
enami
fbb7401965 Cope with rev. 1.16 of frame.h; trapframe now starts at if_gs in intrframe.
This fixes PR#14040.
2002-01-10 03:46:17 +00:00
toshii
2e3ff494cb Remove fwait after fxsave.
Raising math exception from fpu_save causes machine reboots.
Also, this fwait would cause incorrect results, as pending exceptions
are to be handled later after fxrstor.
2002-01-08 13:31:04 +00:00
itojun
8c7c7ff54b pss is broken (for now?) 2002-01-08 04:36:51 +00:00
thorpej
3835413bc1 Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
jmcneill
898f375fa0 Re-enable radio at bktr. 2002-01-07 19:34:25 +00:00
tron
559521efa3 Disable broken radio(4) support for bktr(4). The configuration code doesn't
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
jmcneill
8dc5d86c45 Add entries for the 'esa at pci' audio driver. 2002-01-06 16:07:06 +00:00
jmcneill
ab29ea6d60 Add radio attachment to bktr. 2002-01-06 02:45:52 +00:00
augustss
942fe5df1d Uncomment udsbr (it works). 2002-01-04 21:04:42 +00:00
ws
95ea6d63ce Make this work with only a keyboard attached to ps2 port.
(Maybe even works with only a mouse attached, but I cannot test this.)
Should fix PR 10306 (& 15093).
2002-01-04 17:11:55 +00:00
deberg
4700ae8e79 netsmb device node 2002-01-04 02:59:54 +00:00
augustss
51b2c397c3 Add ustir. 2002-01-03 18:56:40 +00:00
mcr
d64a9cddad moved ARMADA specific CARDBUS options to CARDBUS
added cardbus/pci bridge to CARDBUS config.
	removed ARMADA config (as promised)
2002-01-02 22:32:16 +00:00
augustss
53d829ae4c Use the right I/O addresses for the ISA radio cards. 2002-01-02 04:08:41 +00:00
augustss
323b1e432f Add (commented out) udsbr. 2002-01-02 03:23:07 +00:00
chs
9451559ef4 pmap_page_protect(VM_PROT_NONE) must remove all mappings in the PV list,
even if they are wired.  we need to be able to remove all mappings to
pages that are being freed due to (eg.) file truncation.
2002-01-02 00:51:33 +00:00
chs
a70dcbb2fd merge in a bit from the MP branch to cut down on LOCKDEBUG spew:
Use optimistic locking in pmap_create() so that we don't lock against
ourself if allocating the page directory causes pmap_growkernel() to
be called.
2002-01-01 22:52:11 +00:00
augustss
18f7211eb9 Make mr pci attachment conform. 2002-01-01 22:15:43 +00:00
augustss
32d039b3bf Add (commented out) radio card support. From OpenBSD. 2002-01-01 21:54:21 +00:00
hpeyerl
19d2ddde8d Add entry for PC Weasel/PCI. 2002-01-01 16:52:23 +00:00
perry
259130c9d4 boost up default times for when clocks are insane (as we do every few years.) 2002-01-01 09:14:14 +00:00
wiz
b5df8875da Uncomment uhidev, since other entries depend on it. 2001-12-30 14:49:08 +00:00
augustss
b53ea42bf0 Update for new uhidev device attachment. 2001-12-28 17:37:01 +00:00
martin
b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
thorpej
2db4da1742 Fix some register constraints; specifically, the "port" operand,
if not an immediate, must be in a 16-bit register.
2001-12-28 06:42:40 +00:00
christos
af7d3cdd3d use the new ci_info hook to print extra cpu information during probe. 2001-12-27 15:28:34 +00:00
christos
e59d5895b1 add a new function to the cpu struct's that can be called to print extra
cpu information after initialization.
2001-12-27 15:24:34 +00:00
augustss
a6727606ec Add (commented out) wd at umass (for ISD adapters). 2001-12-24 13:47:13 +00:00
thorpej
030d89cdf0 Use ANSI declarations for static inline functions, and give them
the __unused__ attribute.
2001-12-23 23:08:41 +00:00
jdolecek
845a3d15d2 rename (incorrect) SVR4_TRAP_CLOCK_SETTIME to SVR4_TRAP_GETHRESTIME - this
is what Solaris8 calls it
implement SVR4_TRAP_GETHRESTIME, though obviously only with microsecond accuracy

now clock_gettime(CLOCK_REALTIME, tp) works on Solaris8/i386
2001-12-21 07:02:23 +00:00
yamt
7ae83a7557 use #define<TAB> style.
pointed by enami.
2001-12-18 15:21:13 +00:00
fvdl
e922d091ba Prevent gcc from reordering things such that instructions may fall out
of a range which is protected by spl/splx. Originally proposed by
YAMAMOTO Takashi (yamt@netbsd.org) on tech-kern. This change mirrors
the one done by Bill Sommerfeld on the i386 mp branch.
2001-12-18 10:12:28 +00:00
fvdl
a3cd944f25 Also correct the attach flags to enable IO space on the ServerWorks
CNB20LE.
2001-12-16 21:33:06 +00:00
christos
878eb1362a PR/14946: Rafal Boni: Make this work again.
Notes:
    - I added bsd.obj.mk and made it work with objdirs.
    - I added an entry point to the linker to fix a warning.
    - I made the backup of biostramp.inc silent.
    - I added missing clean targets.

This needs to be tested further.
2001-12-14 20:32:23 +00:00
christos
d259e61055 Fix warnings about register prefixes caused by the new toolchain. 2001-12-14 20:30:10 +00:00
augustss
aa71c52956 Uncomment uirda since it woks now. 2001-12-14 16:24:52 +00:00
gmcgarry
bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
augustss
a7d99a83b1 Add (commented out) uirda. 2001-12-12 15:32:13 +00:00
lukem
b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej
51535d4bf5 Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00
atatat
b45c51b1fc Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
onoe
d5d707cf1d Add 82801BAM as piix.
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region.  So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
soren
00755fc870 options space tab. 2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea Uncomment IrDA devices since they seem to work now. 2001-12-06 16:35:09 +00:00
sommerfeld
39424268c6 Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
thorpej
8d9d5216ec More complete conversion of the XMM-format tag word to i387-format
tag word.
2001-12-06 00:01:36 +00:00
augustss
fe61017def Add (commented out) irframetty. 2001-12-05 16:48:03 +00:00
augustss
81f90d8cd3 Use the right name to decide if we should use irframe entry. 2001-12-05 16:10:09 +00:00
thorpej
03efee5585 * Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
  These changes will allow platforms like x86 (XMM) and PowerPC
  (AltiVec) to export extended register sets in a sane manner.

* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
  FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
  ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
  /proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
jdolecek
f1243fa104 add 'esp at mca? slot ?' and 'scsibus* at esp?' 2001-12-04 20:49:40 +00:00
sommerfeld
ceb358f80c Fix so these files build with options DEBUG enabled.
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
thorpej
f7141449f2 When doing process_s87_to_xmm(), don't restore the "saved SW from
last exception"; the userland-visible fpreg structure doesn't
include it.

Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
jdolecek
586f0a8848 fix two bugs in mca_dma_set_ioport():
* need to specify DMA channel for DMACMD_SET_IO
* the upper byte of port was masked incorrectly

also update comment in _mca_bus_dmamap_sync() to current reality
2001-12-03 22:50:44 +00:00
lukem
fa15b3d7b9 defparam (not defflag) PCIBIOS_IRQS_HINT. pointed out by Kevin Lahey 2001-12-03 00:10:14 +00:00
jdolecek
492b500611 Add couple hooks, needed primarily for NCR 53C90 MCA card driver:
* add flag to explicitly specify if the DMA should be done as 16bit or 8bit
* add flag to specify the DMA should happen via I/O port
* add new function mca_dma_set_ioport(), to set I/O port to be used for the
  DMA operation

Also clarify copyright (welcome to 2001 :), and couple other minor nits
2001-12-02 17:02:33 +00:00
augustss
813e73533f Add (commented out) oboe IrDA driver. 2001-12-02 16:37:24 +00:00
augustss
031a2873ed Add irframe and cir devices. 2001-12-02 10:45:40 +00:00
bouyer
49aef70ae6 Add st at atapibus, now that it works. 2001-12-01 00:09:07 +00:00
enami
a0ae8adf89 Declare some asm statement with output as volatile. Without this,
gcc with -march=pentiumpro produce bad code.
2001-11-30 06:53:56 +00:00
itojun
e86f5a87e8 sync with latest GENERIC. 2001-11-30 02:40:57 +00:00
lukem
efc46c2fb9 minor knf 2001-11-29 02:46:55 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
itojun
8391ace8b7 in_cksum.s is needed for inet6 too 2001-11-26 02:55:39 +00:00
lukem
73191c8c28 comment out CRYPTO_MD_DES_ENC & CRYPTO_MD_BF_ENC; they're not used
anywhere in the kernel, they're not defopt-ed, and config(8) -v
complains about them
2001-11-25 00:02:12 +00:00
jdolecek
90fac765da add 'drive' locator to mca edc 2001-11-23 22:35:46 +00:00
jdolecek
851fb345aa add mca_dmamap_create() prototype for MI code 2001-11-23 22:29:16 +00:00
jdolecek
ed11067c01 Properly glue in the MCA DMA controller support, using bus_dma
interface, using the code from dev/mca/edc_mca.c:edc_setup_dma()
as a base. Use ISA routines for dmamap/dmamem functions, primarily
to get the buffer bouncing for >16MB RAM machines.  The MCA DMA
channel is stored in unused upper 4 bits of ISA DMA cookie's
id_flags, hopefully that's not too disgusting :)
Export mca_dmamap_create(), which returns map suitable for further DMA
operations using MCA DMA controller.

mca_busprobe(): also report if machine has 32bit DMA (feature byte 2
bit 1)

Use symbolic names for DMA controller commands - I've finally got
info what they mean from Tymm Twillman's Linux include/asm/mca_dma.h.
No more magic constants! Also fix bug in the way DMA counter has been
setup - for 16bit DMA, it's necessary to tell the controller _half_
the byte count. This was wrong in the former code.
2001-11-23 22:24:36 +00:00
atatat
155e541aa2 Instead of checking for previous usage, just append to some make
variables.  Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
jmc
5ac54229c9 Don't make the symlinks on clean rules as well as obj rules. Breaks r/o source
trees that haven't gotten to the make obj recursion part of make build
otherwise.
2001-11-22 00:14:20 +00:00
dillo
3bad9b1f33 Repeat James Chacon's fix from sys/lib/lib{kern,sa,z}:
Don't make clean and cleandir depend on the lib subdir.
	Just check for it's existance before running the submake.
	This makes it possible to run a make build (which runs
	cleandir before make obj) in a r/o source tree.
2001-11-22 00:04:55 +00:00
augustss
9c6275fe9e Add a commented out ehci driver (for the adventurous). 2001-11-21 17:11:02 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
lukem
99bccc3cab - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
enami
d4813d9d45 Just test if DEBUG_MEMLOAD is defined or not instead of testing its value. 2001-11-20 07:44:17 +00:00
enami
78bcf7e362 Cosmetic changes to previous commit. 2001-11-20 07:42:33 +00:00