Commit Graph

38014 Commits

Author SHA1 Message Date
peter
185b976c2d Move KERNEL?=kernel to top of the file where it's more obvious and add
a pointer to 'makeoptions' and /etc/make.conf.
Catch a few stray "kernel" hardcoded references.
Move the kernel.debug and related kernel build rules together.
1999-05-09 22:42:17 +00:00
peter
6130341758 Put an example of 'makeoptions KERNEL=foo' to replace the old
'config foo' functionality.
1999-05-09 22:26:10 +00:00
abial
74ec218cdf Silence message about absence of PnP overrides. 1999-05-09 22:16:27 +00:00
peter
77f650ef5f Remove hackish foot protection.. If you ask for an atkbd on an isa bus
rather than on the keyboard controller, you will get it.. (and shoot your
feet)
1999-05-09 20:45:53 +00:00
peter
2bc4e0eea2 Lites2 seems to have pretty much disappeared from the radar, and I suspect
far more than this hack would be needed now..
1999-05-09 20:42:45 +00:00
peter
f8c4605317 Make COM_ESP and COM_MULTIPORT compile for LINT. It might even work.. 1999-05-09 20:35:02 +00:00
phk
c1234a50af don't confuse units and devices. 1999-05-09 20:29:04 +00:00
peter
ee315610d1 For the ioctl that reads the pci configuration, look up the name and unit
on the fly so that we can see the driver assignment of new pci devices
as well in the 'pciconf -l' display.
1999-05-09 20:27:26 +00:00
peter
c2f59244d6 GC unused variable in struct. 1999-05-09 20:25:01 +00:00
brian
3ea9598814 Revert to the previous behaviour of only doing a utmp
login if we're -direct on a tty device.
1999-05-09 20:13:52 +00:00
n_hibma
ee4d1deb7c Enable the support for a file interface on the HID driver for
easy testing of the HID reports that come back.

Submitted by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-05-09 20:13:51 +00:00
brian
00d71de444 Deal with the fact that as we now mbuf_Read the fsm
header in fsm_Input() we often end up with a NULL mbuf.

Deal with a possible NULL mbuf being passed into
mbuf_Prepend().

Adjust some spacing to make things more consistent.
1999-05-09 20:02:29 +00:00
mckusick
81c1d3f4c6 Put back changes that might be causing trouble on Alpha. 1999-05-09 19:39:54 +00:00
n_hibma
96c746be96 Reserve 124 for USB Communications Class Drivers 1999-05-09 19:38:19 +00:00
n_hibma
709a69cb36 Add the USB Mass Storage manual page 1999-05-09 19:35:51 +00:00
peter
f797dd3476 s/main/mi_startup/ 1999-05-09 19:03:55 +00:00
peter
78e46d3bff s/main/mi_startup/ for the kernel entry point so that egcs doesn't get
upset about it (and generate things like __main() calls that are reserved
for main()).  Renaming was phk's suggestion, but I'd already thought about
it too.  (phk liked my suggested name tada() but I decided against it :-)

Reviewed by:	phk
1999-05-09 19:01:49 +00:00
peter
1913ab4429 Move a couple of bits of (now) static content from config(8) (ie: %LOAD)
directly into the Makefile.  Remove references to swapkernel.c, it's
not generated by config(8) now.  (The previous config commits had
generated it, but they had an unused 'char *' in them).
1999-05-09 18:57:02 +00:00
peter
a6a77a4ef9 Put on my viking helmet from the closet, and get out the war axe and
"retire" some more stuff.
1999-05-09 18:54:25 +00:00
n_hibma
dae3d761e5 Added Thrustmaster Fusion Digital Gamepad 1999-05-09 18:29:37 +00:00
phk
e03d163b72 Make minor, major and makedev inline functions so we gain type checking
and prevent compile time creation of dev_t's from happening again.
1999-05-09 18:03:48 +00:00
peter
5fd0058fc8 We don't have composite devices here either. 1999-05-09 17:48:23 +00:00
phk
91e7a75ba8 No point in swapdev being a static global when used only locally. 1999-05-09 17:28:00 +00:00
phk
a3eb84b2f9 config(8) lobotomy, please see commit msg in sys.
(I have no idea why cvs didn't take these changes before.)
1999-05-09 17:23:38 +00:00
peter
905ee53485 Missing revision markers. 1999-05-09 17:12:25 +00:00
peter
41b420910c Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data)
.. to 2.2.x and 3.x if people think it's worth it.  Driver writers can do
this if it's not defined.  (The reason for this is that I'm trying to
progressively eliminate use of linker_sets where it hurts modularity and
runtime load capability, and these DATA_SET's keep getting in the way.)
1999-05-09 17:07:30 +00:00
obrien
71c8afa0dd Turn on compat22 dist. 1999-05-09 17:00:04 +00:00
peter
4889b510f0 Optimize out a couple of places where com_addr() is used twice in a row,
although this is pretty trivial.  devclass_get_softc() is a tad more
expensive than the old com_addr() implementation.  If Bruce is really
worried about the cost of this, it could always be changed so that the
softc pointer is stored in a local array again.
1999-05-09 16:56:38 +00:00
phk
3e9a4fabc3 Oops. If ROOTDEVNAME isn't defined, have -r call -a. 1999-05-09 16:56:09 +00:00
phk
1ce3de9409 no longer used. 1999-05-09 16:46:38 +00:00
phk
f3f6ab89ed Major lobotomy of config(8). The
config kernel mumble mumble

line has been obsoleted and removed and with it went all knowledge of
devices on the part of config.

You can still configure a root device (which is used if you give
the "-r" flag) but now with an option:

        options         ROOTDEVNAME=\"da0s2e\"

The string is parsed by the same code as at the "boot -a" prompt.

At the same time, make the "boot -a" prompt both more able and more
informative.

ALPHA/PC98 people:  You will have to adapt a few simple changes
(defining rootdev and dumpdev somewhere else) before config works
for you again, sorry, but it's all in the name of progress.
1999-05-09 16:46:01 +00:00
peter
f4e8021f39 Delete the #if'ed out old isa bus probe/attach routines 1999-05-09 16:39:24 +00:00
peter
7218b20b24 Make the pci vga detection work so that the card is claimed and it's
interrupt configuration reported.  (I just discovered my vga card is
being configured for irq 5... :-)  This is just reporting.  The vga_isa
driver does the real work using the isa compat mappings.
1999-05-09 16:32:00 +00:00
peter
5350e97b5a Fix a couple of warnings and some bitrot in comments. 1999-05-09 16:04:14 +00:00
peter
586a0280e6 Always use the module system, rather than in an #ifdef. 1999-05-09 15:57:52 +00:00
peter
263e0071ef Argh, don't clobber the pci device list if there are multiple busses!
(An AGP counts as a PCI bus, it seems...)
This stopped 'pciconf -l' from working on AGP or PCI->PCI bridge systems.
1999-05-09 15:54:04 +00:00
kris
4528605ba4 More typos. 1999-05-09 13:46:31 +00:00
kris
162651fa40 Typo.
Obtained from:	OpenBSD
1999-05-09 13:41:19 +00:00
peter
5182d28347 Quiet a warning, put a #if 0 around some (I believe) unused static structs. 1999-05-09 13:21:06 +00:00
phk
5a312ef1f6 major(something) can never become NODEV. 1999-05-09 13:13:52 +00:00
phk
72107aa299 remove cast from dev_t to dev_t. 1999-05-09 13:11:37 +00:00
peter
cecd2635d9 Move opt_sio.h options to conf/options and activate in isa/sio.c 1999-05-09 13:10:49 +00:00
phk
e05bc3b49a Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between
a major number for a dev_t.
1999-05-09 13:00:50 +00:00
dfr
7d04d62126 Remove DDB. 1999-05-09 11:42:19 +00:00
dfr
d04db09021 Back out the last change to disk.c - a kernel change removed the need.
Enabled writing to the disklabel when writing a disk (only affects alpha).
1999-05-09 11:34:58 +00:00
dfr
94c48499c7 Hack the diskslice stuff so that it allows the alpha sysinstall to
manipulate the disklabel. This is almost certainly not the right way
to do it but I'm desperate.
1999-05-09 11:27:41 +00:00
phk
e8f4fc4a1d add some amount of sanity to the way the gdb stuff finds its device.
I'm not too happy about the result either, but at least it has less
chance of backfiring.

This particular feature could be called "a mess" without offending
anybody.
1999-05-09 10:51:13 +00:00
peter
e85d75ef71 Fix two warnings. 1999-05-09 10:45:54 +00:00
peter
0fb0af2fe2 Fix warnings. 1999-05-09 10:43:54 +00:00
phk
83bed983cb Yet a major/dev_t confusion
Spotted by Bruce.
1999-05-09 10:42:39 +00:00