Commit Graph

58322 Commits

Author SHA1 Message Date
grant 8ec07beba4 remove USERCONF and PIPE_SOCKETPAIR, as these are already in GENERIC32. 2002-09-19 07:13:58 +00:00
atatat fe89a76e74 Add a missing semi-colon. 2002-09-19 03:04:32 +00:00
darrenr 0a30063654 For the trivial case where the packet is only in one mbuf, call bpf_tap()
(idea from FreeBSD) - alternative to changing bpf_filter() to be aware of
kernel calling convetion where 0 is passed as the length for mbufs.
2002-09-19 01:16:58 +00:00
darrenr 600f9cb660 If M_PKTHDR is set we can use m_pkthdr.len instead of the for loop. 2002-09-19 00:34:00 +00:00
lha 4fa2032edc uppercase the lkm kernel-userspace dev macros and prefix them with LKM_
make modload print the bdev and cdev major when its a dev lkm
2002-09-18 22:59:36 +00:00
manu 7f8a47f4a1 - missing bits of apm
- KNF
2002-09-18 19:54:47 +00:00
thorpej 620a647b60 For the 21142/21143 internal Nway, only advertise/resolve media for
which we have SROM blocks.
2002-09-18 19:12:17 +00:00
ad 60c69eb3f1 Squash some bugs. 2002-09-18 18:42:06 +00:00
ad 4202c1f405 - The VSXXX is an 8-bit device, not 7.
- Obey ls->dz_line in dzputc(), since dzms uses it.
- Remove an odd "circular" reference that doesn't appear to be useful.
2002-09-18 18:36:52 +00:00
ad 02efaf3855 Remove some duplicate/confusing lines. 2002-09-18 17:06:07 +00:00
ad 4db02b982d Initalize sc_dz[*].dz_line for the benefit of the bus front-end. 2002-09-18 16:51:16 +00:00
abs 332c0b2de1 Recognise the Intel PRO/100 VM Network Controller as seen in the HP
omnibook 6100.
2002-09-18 16:45:01 +00:00
abs 65aee44fd2 We are so tight for memory here we cannot afford USERCONF. 2002-09-18 11:29:42 +00:00
lukem 3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
thorpej cf0393ac12 Add support for restartable atomic sequences. Rearragne the tail
of cpu_switch() slightly so we can reenable interrupts a little
earlier.
2002-09-18 02:35:08 +00:00
lukem 789c0e4589 these files are managed elsewhere, and are just bitrotting here; remove them. 2002-09-18 02:34:53 +00:00
lukem 6ef0105b93 regen for: enable USERCONF 2002-09-18 02:20:50 +00:00
lukem b31e856d42 enable USERCONF 2002-09-18 02:19:19 +00:00
lukem 9ec54c7baa regen for: enable USERCONF 2002-09-18 02:16:01 +00:00
lukem b07e6c87c0 enable USERCONF 2002-09-18 02:15:09 +00:00
chs c76a265365 add the options for all the FirePower models.
add the "openfirm" device, since we're got openfirmware.
2002-09-18 01:55:02 +00:00
chs f5191984f6 use splnet() around the body of ofnet_read(). this is logically the
receive interrupt handler since it passes received packets to the
interface's input handler.  that ends up scheduling a network softint
and queuing the packet on the interface's receive queue (in that order),
so if softnet isn't blocked at this point then softnet() doesn't find
the packet until it's triggered again by something else.
remove all vesitages of dk_establish().
2002-09-18 01:47:08 +00:00
chs 658ce04ab1 fix error checking in ofdisk_open().
remove all vesitages of dk_establish().
2002-09-18 01:46:40 +00:00
chs 128b037bfc remove all vesitages of dk_establish(). 2002-09-18 01:46:23 +00:00
chs c0b553502c build ofwboot as an ELF binary. 2002-09-18 01:45:49 +00:00
chs cf9ab742f6 fix parsing of pathnames with a partition specifier.
reformat for readability.
2002-09-18 01:45:25 +00:00
chs b7878de767 add OF_boot(), call it if the user says "reboot".
try loading "netbsd.ofppc" first, to allow sharing root fs.
2002-09-18 01:45:04 +00:00
chs 0464f50aa5 reformat for readability. 2002-09-18 01:44:29 +00:00
chs b5e02d5677 implement device_register() for ofppc.
use ofcons_cnprobe().
2002-09-18 01:44:12 +00:00
chs 976b0910c4 fix the ofppc interrupt code to work at all. the previous code was
confusing an IPL number with an IRQ mask.  now we do like the x86 code.
2002-09-18 01:43:07 +00:00
uwe 917eac2212 RCSID should go to .ident section.
While here add __KERNEL_RCSID.
2002-09-17 15:28:28 +00:00
darrenr 04978010b2 From FreeBSD (1.164) courtesy of Maxim Konovalov:
"In rare cases when there is no room for ip options ip_insertoptions()
can fail and corrupt a header length.  Initialize len and check what
ip_insertoptions() returns."
2002-09-17 13:10:59 +00:00
itojun ce04d2f721 fix comment, sync with kame 2002-09-17 06:32:49 +00:00
itojun cf50f0c768 reject SIOCAIFADDR if embedded address is in private address range. sync w/kame 2002-09-17 05:56:37 +00:00
briggs b3fa829f51 Get rs6000.h from gnu/dist/toolchain/include instead of gnu/dist/include. 2002-09-17 03:55:40 +00:00
oster 8fd475e54a RF_DEBUG_ACCESS and RF_DEBUG_QUIESCE make things a little smaller. 2002-09-17 03:54:42 +00:00
oster 1b0ab96194 Introduce and use RF_DEBUG_QUEUE (for debugging the various queueing
types available in RAIDframe).
2002-09-17 03:43:34 +00:00
oster aad979b7eb Cast the RF_DEBUG_RECON net a little wider. 2002-09-17 03:30:33 +00:00
oster 1b1653573f Rename RF_DEBUG_RECONBUFFER to RF_DEBUG_RECON in order to facilitate
disabling other stuff without having to introduce another #define.
2002-09-17 03:21:40 +00:00
oster fe703e624d Were these functions actually called by anything, I might have considered
keeping them...
2002-09-17 03:11:41 +00:00
oster 5dced80d48 Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that the
vast majority of the world will never see much less care about.
2002-09-17 02:55:12 +00:00
oster e8ffb40a0e Those of us who might be interested in debugging internal memory usage
of RAIDframe can use RF_DEBUG_MEM.  I suspsect the rest of the world would
rather use that 14K of kernel memory for something else.
2002-09-16 23:40:57 +00:00
oster 763ac2f8fe Assign a value to recon_buffer_size in a different way so that the
compiler doesn't complain when we change what RF_Free looks like.
2002-09-16 23:37:18 +00:00
petrov dc81a805ea Use driver reset in case 'internal state mismatch'. 2002-09-16 21:49:15 +00:00
gmcgarry 24faaecc3a Implement CPU locks. Untested. 2002-09-16 21:01:31 +00:00
manu e77de5cb68 Initial APM support (enough to get battery level) 2002-09-16 19:52:52 +00:00
manu eee61c81f0 Fix a config mistake for wsmouse 2002-09-16 19:50:27 +00:00
tron 377e179dcb Use "const" for all input parameters of ethers(3) functions. 2002-09-16 19:25:30 +00:00
mycroft e9e73c9a7d Force GPSR to 0 before a blit, so my text doesn't get shifted to the right... 2002-09-16 17:12:07 +00:00
thorpej 2699791533 Do not #include "/usr/include/arpa/tftp.h" directly. Doing so is
VERY BAD for cross-compiling.
2002-09-16 16:53:45 +00:00