Commit Graph

235 Commits

Author SHA1 Message Date
nonaka 85b957a2b0 Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h. 2002-03-17 23:45:57 +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
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
chs bd2a5f591d switch all mpc6xx powerpc ports to NEWPMAP by default.
the old pmap is still available with the OLDPMAP option.
2002-03-09 23:35:56 +00:00
matt e8db553326 Change LABELOFFSET to 0 to be more compatible with other MBR style ports. 2002-03-09 01:15:22 +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
simonb 64c7743a05 Don't "extern int cold;" - this is in <sys/kernel.h>. 2002-03-04 02:19:07 +00:00
wiz 1b7f309f0a Correct misspellings of "failed". 2002-03-04 01:38:31 +00:00
kleink 98eeb8198f Give block translations to I/O memory the Guarded attribute; from Matt Thomas. 2002-03-02 14:25:02 +00:00
matt b7a4d57a9e Now all MBR_* definitions come from <sys/disklabel_mbr.h> 2002-03-02 07:05:30 +00:00
simonb 4324f37586 Use "#define<tab>". 2002-02-28 03:17:23 +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
kleink 5e6a2be4e0 For the time being, add a wrapper around GENERIC causing the tlp driver
to match the on-board 21040, which the de driver has issues with.
2002-02-26 19:02:50 +00:00
kleink 9fcf8c7e63 Add platform support for the Motorola Ultra Plus and Ultra 60x boards.
Note that this currently matches only the boards built into Bull Estrella
systems, as Bull chose to change the board identification string whose
original content is not known at this time.
2002-02-26 16:09:14 +00:00
kleink 5eb5b37d22 Add the same probe fig leaf as in the mk48txx attachment to prevent
false positives.
2002-02-26 15:28:38 +00:00
kleink 326c1b225d Move the ext_intr() variant using the board interrupt vector register
into common code; it is not specific to the 6050, and in fact not even
specific to IBM-built hardware.
2002-02-26 00:30:10 +00:00
kleink 03cae416f5 Add an attachment for the MK48T18 RTC/NVRAM found on some Motorola boards. 2002-02-25 19:09:43 +00:00
kleink d5fe2ac32f Declare the id argument to pci_conf_hook(9) as pcireg_t, which is more
appropriate.
2002-02-25 00:34:13 +00:00
kleink 6805e97fff Make the logic for wildcarding the I/O address actually achieve its purpose. 2002-02-25 00:04:49 +00:00
kleink 5410bbdb16 In order to support both indirect PCI configuration space access as well
as direct-mapped PCI configuration space access (such as implemented on
the IBM 27-82650 PCI Host Bridge), switch to a function vector based
PCI configuration space access implementation.  The appropriate PCI
chipset tag is provided by platform-specific code.
2002-02-24 13:19:06 +00:00
kleink 73cdf7f537 Get rid of cf_unit misuse. 2002-02-24 11:22:00 +00:00
kleink 5b6184e81b Upon reflection, really choose the right pseudo-segment for PCI memory space. 2002-02-24 10:58:41 +00:00
kleink 50838c01e1 Move battable entries for I/O to their correct pseudo-segment offsets;
while BAT spills currently don't happen, it should be possible for the
handlers to find them at the expected address anyway.
2002-02-24 10:56:54 +00:00
wiz 37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
kleink 02530a3ece When enabling hardware interrupts at the end of cpu_startup(), splhigh()
cannot be used to mask them off for deferred processing as autoconfiguration
hasn't even started and thus the IPL_HIGH mask hasn't been calculated yet.

Instead, set the current mask manually to all-masked using splraise().
2002-02-11 23:01:37 +00:00
wiz 9baadd8ee5 "doesn't" should have an 's'. 2002-02-11 11:19:26 +00:00
wiz f78eb76cbe achive is not a good word. 2002-02-11 10:57:57 +00:00
wiz 3cc2ef9997 Update description for icsphy. 2002-02-10 17:36:52 +00:00
kleink db6b1776e2 prep_intr_reg is mapped in kva space, so make it vaddr_t. 2002-02-10 00:54:39 +00:00
kleink 8785df9eae Oops, typo in previous, too. 2002-02-06 12:26:02 +00:00
kleink ec9a0b843e * Fix typos and misusage !PMAP_MAP_POOLPAGE mb_map allocation.
* Use pmap_kenter_pa() for mapiodev().
2002-02-06 12:24:48 +00:00
nonaka 5d557da31c s/asm/__asm__ volatile/ 2002-02-04 16:17:36 +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
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
nonaka 3c6fc4ebff Fix panic at extent_free() in boot-time.
(ia->ia_io[0].ir_size is zero if noset iosiz in kernel config file.)
2002-01-21 16:26:58 +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
manu 5f90ae55b5 Added clockctl 2002-01-12 14:52:40 +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
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
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
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
kleink e1f611fa76 The MPC105 does not implement the IBM reference implementation's
Equipment Present Register (I/O port 0x080c), so perform L2 cache
detection here.
2001-12-12 10:18:48 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
kleink b52ac962b3 Add pci device. 2001-12-11 21:02:42 +00:00
kleink a5abbc5b66 Add wsfont pseudo-device. 2001-12-11 20:49:18 +00:00
briggs eca843c395 define __HAVE_NWSCONS for pckbc. 2001-12-10 22:42:54 +00:00
briggs 25e9f1f519 Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
This at least allows the compile to complete.  There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
thorpej 636e9cd08b Add a "cacheline_size" argument to pci_configure_bus(). It is used
to set the cacheline size in the BHLC register.  This should be the
size of the largest D-cache line on a system.
2001-11-28 23:48:34 +00:00