Commit Graph

1366 Commits

Author SHA1 Message Date
thorpej d941ddfee0 Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:39:09 +00:00
drochner d2b9876081 move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
2002-06-02 14:44:35 +00:00
thorpej 78bfb83bf6 Don't use multi-line string literals. 2002-05-30 22:25:51 +00:00
thorpej 3d13a6c10b Don't include params on macro when #undef'ing it. 2002-05-30 19:59:36 +00:00
leo 65dd34362f Fix typo. 2002-05-23 14:59:28 +00:00
leo 1babc14d15 Fix the siron()/siroff() macro's. They were using a too loose contraint
that made the wd-driver fall over on kernels compiled with the latest
assembler. The macro;s now use the single_inst_*() functions so there
are less places to go wrong here next time...
2002-05-23 06:46:20 +00:00
leo 3f3c4827e0 Update md config:
- md0 -> 1MB image on a 720KB floppy
	- md1 -> 1.44MB image on a 720KB floppy
	- md2 -> 1.44MB image on a 1.44MB floppy
2002-05-23 06:39:32 +00:00
leo 4393af0b6d regen. 2002-05-23 06:32:42 +00:00
leo 2ad2395021 Remove the 'ex at pci' driver. The ex driver does not work with the
3c900-COMBO card at the moment. Something is wrong with DMA.
2002-05-23 06:30:32 +00:00
leo 5d6a896647 Force the absolute jump in a more elegant way. Suggested by Jaromir Dolecek. 2002-05-23 06:08:40 +00:00
drochner 60b6f587bc Subtract vm_map_min(kernel_map) from kernel virtual addresses to get offsets
into kernel_object where this was missing.
This is a no-op on ports where VM_MIN_KERNEL_ADDRESS==0, ie all but
cesfic.
Confirmed and corrected by Chuck Silvers.
2002-05-22 14:29:23 +00:00
leo 5b406e9d20 Try to defeat the assembler optimizer. If we jump to a local label, it tries
to use a pc-relative jump. Which is definitely not what is needed in the
relocation code!
This is new in the current assembler apparantly. None of the kernels build
after my latest upgrade were able to boot... What else is lurking!
2002-05-19 20:26:58 +00:00
thorpej 204183c0fa * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
thorpej dada8613e1 Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
thorpej 4fba408409 Implement pci_decompose_tag(). 2002-05-15 17:30:04 +00:00
jdolecek 8b225b8ff7 also don't make the machine symlinks for 'clean' target
move the CLEANFILES update out of the .if, so that the files get removed
  for 'clean' or 'cleandir'
2002-05-05 17:11:41 +00:00
jdolecek 806100bb55 Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?
2002-05-05 15:30:05 +00:00
bjh21 ca9a3c5b44 <bsd.hostprog.mk> and <bsd.prog.mk> don't play nicely together. Since
<bsd.hostprog.mk> includes <bsd.files.mk> anyway, drop <bsd.prog.mk>.
2002-05-04 21:56:50 +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
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
tv 7da1186e67 Use ${INSTALL_FILE} to move /boot.atari into place so it is seen by an
UNPRIVED build.
2002-04-23 17:04:31 +00:00
leo 1913310c9e Handle uninitialize warning. 2002-04-18 20:12:01 +00:00
bjh21 12282dd258 Regen. Remove pppoe from FALCON kernels. 2002-04-16 22:44:26 +00:00
bjh21 0884ac3b9e Don't include pppoe in FALCON kernels, since they don't include any Ethernet
devices.
2002-04-16 22:42:55 +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
bjh21 1f1695ddff Build the keymap-generating programs as hostprogs, since they're only run
on the host system and never installed.

Install the generated keymaps using <bsd.files.mk> rather than by hand, so
that all the UNPRIVED magic can work.
2002-04-15 17:27:33 +00:00
bjh21 5178253d62 Only include opt_*.h #ifdef _KERNEL_OPT. 2002-04-15 17:05:13 +00:00
leo 6b640fdcec Fix PR-16305. Make the 'end' symbol local. 2002-04-15 09:29:56 +00:00
leo 9485827587 Regen. 2002-04-12 22:37:21 +00:00
leo d7f7c55a74 Move USERCONF to GENERIC.in and trim the phy-list. 2002-04-12 22:34:13 +00:00
leo df30bb7f3d Oops, remove some unintended changes. 2002-04-12 22:29:14 +00:00
leo c3e3c2c718 Add some PCI ethernet/audio cards for the Hades and the Milan. 2002-04-12 22:22:25 +00:00
leo f94a8b4d29 Don't bail out when /netbsd is not present. We don't really need it
anyway.
2002-04-12 22:11:33 +00:00
leo cbe57bbd7c Make the exitcode != 0 when the ioctl fails. 2002-04-12 22:09:28 +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
leo f88c5b26b4 Oops, clicked in a '+' from the diff.. 2002-04-09 14:54:40 +00:00
leo 65e47dab1d Mmmmm PCI_PRODUCT_ATI_MACH64_B -> PCI_PRODUCT_ATI_RAGE_PRO_PCI_P... 2002-04-09 13:16:09 +00:00
leo a37ac7efba Fix typo. 2002-04-09 13:14:03 +00:00
leo 47713ea9eb Define minor for DEV_NVRAM 2002-04-09 13:07:27 +00:00
leo 959fef2f01 Pull in prototype for setregs() 2002-04-09 13:04:43 +00:00
bjh21 59c268f094 Use ${PRINT_OBJDIR} rather than looking for the libsa objdir manually. 2002-04-08 17:29:53 +00:00
bjh21 98b2b14b9c Add files.c to SRCS, since other bits of libsa want it. 2002-04-08 17:25:54 +00:00
bjh21 a886efc273 Rather than grovelling around for libsa's objdir by hand, use ${PRINT_OBJDIR},
since that's what it's for.
2002-04-08 16:58:19 +00:00
bjh21 4f23ca4d62 Add -Wno-uninitialized to CFLAGS, since it's overly-pessimistic. 2002-04-08 16:49:46 +00:00
leo 7c8d16d63f Also find swap partitions in a (possibly embedded in AHDI) NetBSD label on
the disk.
2002-03-22 21:29:23 +00:00
leo 7b23fbe29a Add code for reading NetBSD disklabels. 2002-03-22 21:27:58 +00:00
christos 7e277b5782 kill remaining PS_STRINGS instances. 2002-03-20 17:59:22 +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
leo 0cd2b4eee6 Take care of the 'machine' and 'm68k' include paths.
Copied verbatim from the x68k/stand/libsa/Makefile.
2002-03-11 10:29:42 +00:00