Commit Graph

284 Commits

Author SHA1 Message Date
Bill Paul 74432d0d13 Add a module Makefile for the PNIC driver. 1999-07-28 02:21:56 +00:00
Bill Paul 691c152864 This commit adds device driver support for Adaptec Duralink PCI fast
ethernet controllers based on the AIC-6915 "Starfire" controller chip.
There are single port, dual port and quad port cards, plus one 100baseFX
card. All are 64-bit PCI devices, except one single port model.

The Starfire would be a very nice chip were it not for the fact that
receive buffers have to be longword aligned. This requires buffer
copying in order to achieve proper payload alignment on the alpha.
Payload alignment is enforced on both the alpha and x86 platforms.
The Starfire has several different DMA descriptor formats and transfer
mechanisms. This driver uses frame descriptors for transmission which
can address up to 14 packet fragments, and a single fragment descriptor
for receive. It also uses the producer/consumer model and completion
queues for both transmit and receive. The transmit ring has 128
descriptors and the receive ring has 256.

This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus
so that it can be compiled as a loadable kernel module. Support for BPF
and hardware multicast filtering is included.
1999-07-25 04:32:50 +00:00
Bill Paul 8b1b6ae5a6 Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.
1999-07-24 20:55:05 +00:00
Bill Paul 98edb3e178 Create module directories for the xl, ti, tl and sk drivers and add
them to the Makefile so that modules will be generated for /modules.
1999-07-23 05:48:01 +00:00
Dag-Erling Smørgrav 6b5ca0d83e Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
Dag-Erling Smørgrav af5c746a49 Use the correct value for banksize so splash_pcx works in LFB modes. 1999-06-28 13:52:29 +00:00
Greg Lehey 9e0450400d Reenable Vinum build 1999-06-24 05:21:19 +00:00
Kazutaka YOKOTA 6e8394b8ba The second phase of syscons reorganization.
- Split syscons source code into manageable chunks and reorganize
  some of complicated functions.

- Many static variables are moved to the softc structure.

- Added a new key function, PREV.  When this key is pressed, the vty
  immediately before the current vty will become foreground.  Analogue
  to PREV, which is usually assigned to the PrntScrn key.
  PR: kern/10113
  Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>

- Modified the kernel console input function sccngetc() so that it
  handles function keys properly.

- Reorganized the screen update routine.

- VT switching code is reorganized.  It now should be slightly more
  robust than before.

- Added the DEVICE_RESUME function so that syscons no longer hooks the
  APM resume event directly.

- New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING,
  SC_NO_HISTORY and SC_NO_SYSMOUSE.
  Various parts of syscons can be omitted so that the kernel size is
  reduced.

  SC_PIXEL_MODE
  Made the VESA 800x600 mode an option, rather than a standard part of
  syscons.

  SC_DISABLE_DDBKEY
  Disables the `debug' key combination.

  SC_ALT_MOUSE_IMAGE
  Inverse the character cell at the mouse cursor position in the text
  console, rather than drawing an arrow on the screen.
  Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG)

  SC_DFLT_FONT
  makeoptions "SC_DFLT_FONT=_font_name_"
  Include the named font as the default font of syscons.  16-line,
  14-line and 8-line font data will be compiled in.  This option replaces
  the existing STD8X16FONT option, which loads 16-line font data only.

- The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c.

- The video driver provides a set of ioctl commands to manipulate the
  frame buffer.

- New kernel configuration option: VGA_WIDTH90
  Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.  These
  modes are mot always supported by the video card.
  PR: i386/7510
  Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx.

- The header file machine/console.h is reorganized; its contents is now
  split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h
  (another new file).  machine/console.h is still maintained for
  compatibility reasons.

- Kernel console selection/installation routines are fixed and
  slightly rebumped so that it should now be possible to switch between
  the interanl kernel console (sc or vt) and a remote kernel console
  (sio) again, as it was in 2.x, 3.0 and 3.1.

- Screen savers and splash screen decoders
  Because of the header file reorganization described above, screen
  savers and splash screen decoders are slightly modified.  After this
  update, /sys/modules/syscons/saver.h is no longer necessary and is
  removed.
1999-06-22 14:14:06 +00:00
Kazutaka YOKOTA 5c539f036d Print verbose messages when there is error.
Oked by: des
1999-06-16 14:04:45 +00:00
Roger Hardiman 05da1d9122 Add bktr (Bt848/Bt878 driver loadable module) to the Makefile i386 only section 1999-06-12 15:11:33 +00:00
Roger Hardiman 6c96acd35c Change perl5 to perl (same change as made in the fxp module) 1999-06-12 15:08:50 +00:00
Roger Hardiman b72df81b21 Makefile to build a loadable bktr Bt848/Bt878 device driver
This allows the bt848 grabber to be loaded in the boot loader or
after bootup without the need for a custom kernel
1999-06-12 15:00:19 +00:00
John Birrell c27d843bd9 Remove vinum from the build until Greg reviews phk's cdevsw changes.
Preferred by: phk (rather than committing the patch without review).
1999-06-02 07:15:17 +00:00
Jonathan Lemon eb9d435ae7 Unifdef VM86.
Reviewed by:	silence on on -current
1999-06-01 18:20:36 +00:00
Greg Lehey 2ca1fa6cd1 Reenable vinum build. 1999-05-15 06:13:27 +00:00
Poul-Henning Kamp 2c7723a7c9 Vinum doesn't compile right now. 1999-05-13 09:43:29 +00:00
Dag-Erling Smørgrav 4a5222d798 MFS: indent-assisted style cleanup. 1999-05-10 15:25:50 +00:00
Dag-Erling Smørgrav 7782bb379d A little closer to style(9). 1999-05-08 11:51:51 +00:00
Bruce Evans 54ab20b159 Fixed bitrot in comments. 1999-05-06 03:35:44 +00:00
David E. O'Brien 025998c77d MFS: don't build the pcic.ko module. 1999-05-05 20:58:15 +00:00
Bill Fumerola 9309218052 Add procfs_rlimit.c so the kernel actually compiles.
PR:		kern/11497
Submitted by:	Jos Backus <jos.backus@nl.origin-it.com> (misordered patch)
Pointy Hat:	phk, adrian
1999-05-04 21:08:58 +00:00
Jordan K. Hubbard d4fb5cb1e8 Add missing copyright. 1999-05-04 12:58:56 +00:00
Jordan K. Hubbard cc611a43c2 Add "fire" screen saver.
Submitted by:	Brad Forschinger <retch@flag.blackened.net>
1999-05-04 12:23:32 +00:00
Mike Smith f8dc47162a Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
1999-04-28 01:18:13 +00:00
Guy Helmer 200c501e03 Reference kld(4).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-23 16:12:44 +00:00
Peter Wemm efd38fd1fa No need to use a magic IPFIREWALL_MODULE - the build system supplies
one already we can test for.
1999-04-20 14:31:23 +00:00
Peter Wemm bd43a21c14 Kill joy for the time being, it used lkm unconditionally, breaking world.
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
1999-04-19 20:36:06 +00:00
Peter Wemm 8d85d2c418 Remove LKM module glue Makefile. 1999-04-19 14:31:55 +00:00
Doug Rabson 8c1cc362b8 Use perl, not perl5 to compile interfaces. 1999-04-18 13:31:23 +00:00
Bruce Evans dc10771330 Actually build the new fxp module.
Updated comments about rotten modules.

Fixed disorder and English errors.
1999-04-18 03:18:33 +00:00
Peter Wemm 6a6aebc809 Disconnect lkm subdir so we don't build a lkm module, in case something
I do breaks world or the nightly snapshots.  (you can still do it by hand
though for the moment)
1999-04-17 16:31:13 +00:00
Greg Lehey f4cdc766cc Reverse last checkin, which was a regression. Grrr. 1999-04-17 07:48:34 +00:00
Greg Lehey 4e7916388f Replace with the correct version which sources in the other .gdbinits. 1999-04-17 04:14:40 +00:00
Peter Wemm c002d680f8 Add a sample loadable pci driver Makefile.. 1999-04-16 21:52:27 +00:00
Peter Wemm 4962041b9b Drop the atapi module from the build, it's just wasting time. 1999-04-13 18:53:54 +00:00
Bruce Evans 5570727607 Fixed bogus SRCS definition which broke `make depend'. Plain `make'
worked accidentally because the rule to generate ${OBJS} from ${SRCS}
is sloppy.

Fixed style bugs.
1999-04-13 09:11:20 +00:00
Dag-Erling Smørgrav 7a19b7ed76 PCX loader for pseudo-device splash. 1999-04-12 13:39:11 +00:00
Dag-Erling Smørgrav 601752d5a7 Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
Greg Lehey 1566f7801c Add kldstat macro, which basically does the same thing as kldstat(8) 1999-04-10 04:04:16 +00:00
Guy Helmer b6e0f7ece8 Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-06 13:57:33 +00:00
Greg Lehey 6560c980ca 'fr' macro: trace back to new kernel base 0xc0000000 1999-04-05 03:55:44 +00:00
Greg Lehey 7b2a16a33a Correct forgotten defs in defproc macro 1999-04-04 03:33:45 +00:00
Greg Lehey 293904653d Various bug fixes to make them actually work. 1999-03-31 05:54:20 +00:00
Kazutaka YOKOTA ccd4815963 Make the splash screen alternate "fade out" and "fade in" action at
regular intervals, when the module is used as a screen saver.

Submitted by: asami
1999-03-29 15:13:53 +00:00
Greg Lehey ccaba9fc2b Restructure the .gdbinit files:
.gdbinit.crash contains a top-level .gdbinit suitable for debugging
               crash dumps

.gdbinit.serial contains a top-level .gdbinit suitable for serial
              debugging

Each of these two files reads the following files:

.gdbinit.kernel: This file contains general macros suitable for kernel
               debugging.  It is not related to vinum

.gdbinit.vinum:  This file contains macros specific to debugging
               vinum.

.gdbinit.paths:  Contains information about the location of the source
               and object files on the system.
1999-03-28 09:12:17 +00:00
Greg Lehey 61f64b85ae Restructure the .gdbinit files:
.gdbinit.crash contains a top-level .gdbinit suitable for debugging
               crash dumps

.gdbinit.serial contains a top-level .gdbinit suitable for serial
		debugging

Each of these two files reads the following files:

.gdbinit.kernel: This file contains general macros suitable for kernel
		 debugging.  It is not related to vinum

.gdbinit.vinum:  This file contains macros specific to debugging
		 vinum.

.gdbinit.paths:  Contains information about the location of the source
		 and object files on the system.
1999-03-28 09:10:56 +00:00
Julian Elischer accde249ae quick BDE premption 1999-03-14 20:43:09 +00:00
Julian Elischer 0237469f43 A bit of a hack, but allows the vn device to be a module again.
Submitted by: Matt Dillon <dillon@freebsd.org>
1999-03-14 20:40:15 +00:00
Julian Elischer a5296b05b4 Submitted by: Matt Dillon <dillon@freebsd.org>
The old VN device broke in -4.x when the definition of B_PAGING
changed. This patch fixes this plus implements additional capabilities.
The new VN device can be backed by a file ( as per normal ), or it can
be directly backed by swap.

Due to dependencies in VM include files  (on opt_xxx options) the new
vn device cannot be a module yet. This will be fixed in a later commit.
This commit delimitted by tags {PRE,POST}_MATT_VNDEV
1999-03-14 09:20:01 +00:00
Greg Lehey ba90a5c31c Improve the manner in which the location of the kld is found. It
should now be completely automatic.
1999-03-13 07:42:15 +00:00