Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (12m)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (8d) 

2024-05-20 14:54:19 UTC Now

2020-04-29 22:17:38 UTC MAIN commitmail json YAML

LSO  large send offload

(rtr)

2017-09-17 21:55:07 UTC MAIN commitmail json YAML

GVFS git virtual file system

(rtr)

2016-05-11 03:17:22 UTC MAIN commitmail json YAML

provide const versions of container_of macros.

discussed with riastradh@ by email

(rtr)

2016-02-15 19:00:42 UTC MAIN commitmail json YAML

Fix building of IPv4-Mapped IPv6 addresses.

As discussed on tech-net@ use in6_sin_2_v4mapsin6() to build mapped
addresses.

(rtr)

2016-02-15 14:59:03 UTC MAIN commitmail json YAML

Reduce code duplication.

Split creation of IPv4-Mapped IPv6 addresses into its own function
and use it.

No functional change intended.  As posted to tech-net@

(rtr)

2016-02-14 23:47:57 UTC MAIN commitmail json YAML

remove duplicated #include of <netinet/in.h>

(rtr)

2015-05-24 17:07:27 UTC MAIN commitmail json YAML

convert remaining linux_get_sa() users to use linux_get_sa_sb() and
pass the pointer to the sockaddr in msghdr.msg_name, while removing
the MSG_NAMEMBUF flag.

now that the original linux_get_sa() is unused remove it and to make
function names consistent again rename linux_get_sa_sb() to linux_get_sa().

(rtr)

2015-05-24 15:43:45 UTC MAIN commitmail json YAML

remove transitional functions in{,6}_pcbconnect_m() that were used in
converting protocol user requests to accept sockaddr instead of mbufs.

remove tcp_input copy in to mbuf from sockaddr and just copy to sockaddr
to make it possible for the transitional functions to go away.

no version bump since these functions only existed for a short time and
were commented as adapters (they appeared in 7.99.15).

(rtr)

2015-05-23 15:27:55 UTC MAIN commitmail json YAML

get rid of unnecessary use of mbuf to hold sockaddr, which was leaked...

while here change use to typed pointer sockaddr * instead of void * which
also lets us get rid of sasize variable used to track length (since we
can now use sa_len easily)

(rtr)

2015-05-22 22:05:32 UTC MAIN commitmail json YAML

pass connect address directly to soconnect()

instead of allocating an mbuf, copying the address into it and then
mtod()'ing it back to a sockaddr * for soconnect.

(rtr)

2015-05-21 22:24:24 UTC MAIN commitmail json YAML

bump to 7.99.18 for change to nfs_boot_sendrecv

(rtr)

2015-05-21 02:04:22 UTC MAIN commitmail json YAML

change nfs_boot_sendrecv to take sockaddr_in * instead of mbuf *

fixes m_serv (single mbuf leak) leak in kern/subr_tftproot.c

(rtr)

2015-05-21 00:45:27 UTC MAIN commitmail json YAML

remove duplicated assignment of mh->m_len

(rtr)

2015-05-10 18:55:22 UTC MAIN commitmail json YAML

mtod mbuf to sockaddr * for so_send().

(rtr)

2015-05-09 18:12:19 UTC MAIN commitmail json YAML

when calling nfs_boot_sendrecv pass NULL for pointers instead of 0

(rtr)

2015-05-09 15:22:47 UTC MAIN commitmail json YAML

2015-05-03 04:18:45 UTC MAIN commitmail json YAML

flip (NULL == addr) to (addr == NULL) use in conditional from previous
commit.

(rtr)

2015-05-02 23:46:04 UTC MAIN commitmail json YAML

compare mbuf * pointer to NULL instead of 0

(rtr)

2015-05-02 21:15:33 UTC MAIN commitmail json YAML

remove unnecessary check that nam != NULL before deref in soconnect()
(added in previous commit).

sockargs copyin() makes sure we don't get NULL here

(rtr)

2015-05-02 20:10:26 UTC MAIN commitmail json YAML

make soconnect() fail with EAFNOSUPPORT if the domain of the socket does
not match family received in the sockaddr.

* connect() now fails as documented in connect(2).
* atf test t_connect:connect_foreign_family now passes.

(rtr)

2015-05-02 17:18:04 UTC MAIN commitmail json YAML

2015-04-26 21:40:49 UTC MAIN commitmail json YAML

2015-04-26 16:45:51 UTC MAIN commitmail json YAML

return EINVAL if sin{,6}_len != sizeof(sockaddr_in{,6}) respectively in
in{,6}_pcbconnect().

checking just m->m_len isn't enough because there are various places that
assume sa_len has been properly populated.

(rtr)

2015-04-25 15:19:54 UTC MAIN commitmail json YAML

make rip_connect_pcb take sockaddr_in * instead of mbuf *
make rip_connect_pcb static since it appears to be used only in raw_ip.c

moves m_len check to callers which is a small duplication of code
that will go away when the callers are converted to receive sockaddr *.

(rtr)

2015-04-25 14:56:05 UTC MAIN commitmail json YAML

fix missed parameter type change in dccp6_accept() to sockaddr * from mbuf *

(rtr)

2015-04-24 23:36:49 UTC MAIN commitmail json YAML

make at_pcbconnect() take sockaddr_at * instead of mbuf *.

move m_len check into callers which results in small duplication of
code that will go away when the callers are converted to receive
sockaddr * instead of mbuf *.

(rtr)

2015-04-24 22:32:38 UTC MAIN commitmail json YAML

2015-04-19 19:17:37 UTC MAIN commitmail json YAML

clean up the way ti_bind() was converted to use sockaddr_big.

instead of using the original sockaddr_{in,un} structures for storage
use the single sockaddr_big structure instead.

while here ditch superfluous assignment of sockaddr sb_len since the
assignment is already performed in netaddr_to_sockaddr_{in,un}

(rtr)

2015-04-05 23:28:10 UTC MAIN commitmail json YAML

fix typo bindinging -> binding

(rtr)

2015-04-05 23:19:56 UTC MAIN commitmail json YAML

change return from EINVAL to EAFNOSUPPORT when the domain of the socket
does not match the family of the address to be bound.

fixes atf test lib/libc/sys/t_bind bind_foreign_family

(rtr)

2015-04-05 23:17:41 UTC MAIN commitmail json YAML

add another test program for connect(2) that checks that connect fails
with EAFNOSUPPORT (similar to the bind test) if the domain of the socket
does not match the address family of the supplied address.

test currently fails as it should

(rtr)

2015-04-05 23:15:54 UTC MAIN commitmail json YAML

-      ATF_REQUIRE(EINVAL == errno);
+      ATF_REQUIRE(EAFNOSUPPORT == errno);

as per http://pubs.opengroup.org/onlinepubs/009695399/functions/bind.html

while here remove some unnecessary initialization of port and addr members
and replace with a comment explaining why.

(rtr)

2015-04-05 20:33:45 UTC MAIN commitmail json YAML

Note that bind(2) can fail with EAFNOSUPPORT.  The description of why is
taken from the connect(2) manpage.

(rtr)

2015-04-05 02:26:39 UTC MAIN commitmail json YAML

make bind() fail with EINVAL if the address family of the provided
socket does not match the address family of the sockaddr received.

(rtr)

2015-04-04 04:33:39 UTC MAIN commitmail json YAML

* update dccp_bind for struct mbuf * to struct sockaddr * parameter change
* pass NULL instead of casting 0 to a pointer when calling in_pcbbind()

(rtr)

2015-04-03 20:01:08 UTC MAIN commitmail json YAML

* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
  instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
  sys_bind; sockaddr_big is of sufficient size and alignment to
  accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.

Patch posted to tech-net@
  http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html

The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.

Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@

(rtr)

2015-03-14 02:08:16 UTC MAIN commitmail json YAML

Move code that is conditional on options INET6 into #ifdef INET6.

* Re-organize some variable declarations to limit #ifdef's.
* Move INET and INET6 code into respective switch cases to simplify
  #ifdef INET6.

No intended functional change.

(rtr)

2015-03-06 03:35:00 UTC MAIN commitmail json YAML

Return EINVAL if namelen isn't large enough to encompass the expected
members of sockaddr structures. i.e. sa_len and sa_family.

Discussed with and patch by christos@

(rtr)

2015-02-28 21:42:01 UTC MAIN commitmail json YAML

Place opening brace to function at column 0, like in the rest of the file.

(rtr)

2014-08-09 05:33:01 UTC MAIN commitmail json YAML

split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions

  - always KASSERT(solocked(so)) even if not implemented
    (for PRU_CONNECT2 only)

  - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
    pr_connect2()

  - replace calls to pr_generic() with req = PRU_PURGEIF with calls to
    pr_purgeif()

put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed

patch only briefly reviewed by rmind@

(rtr)

2014-08-08 03:05:45 UTC MAIN commitmail json YAML

2014-08-07 07:51:28 UTC MAIN commitmail json YAML

suppress possibly used uninitialized warning on sgimips

from martin@

(rtr)

2014-08-07 01:02:30 UTC MAIN commitmail json YAML

remove KASSERT(nam != NULL) from ddp_send() the following code makes
the validity of it questionable.  we'll investigate later whether it
can be put back and the code simplified.

(rtr)

2014-08-05 14:02:42 UTC MAIN commitmail json YAML

whitespace

(rtr)

2014-08-05 08:52:10 UTC MAIN commitmail json YAML

actually use the passed in struct lwp *l instead of curlwp in unp_connect()

(rtr)

2014-08-05 07:55:32 UTC MAIN commitmail json YAML

split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions

  xxx_send(struct socket *, struct mbuf *, struct mbuf *,
      struct mbuf *, struct lwp *)

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_SEND with calls to
    pr_send()

rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs

  - l2cap_send() -> l2cap_send_pcb()
  - sco_send() -> sco_send_pcb()
  - rfcomm_send() -> rfcomm_send_pcb()

patch reviewed by rmind

(rtr)

2014-08-05 07:10:41 UTC MAIN commitmail json YAML

get_tcppcb() is nearly always called upon entry to usrreqs so
KASSERT(solocked(so)) inside it and remove the redundant KASSERT
everywhere we are using tcp_getpcb()

(rtr)

2014-08-05 05:24:27 UTC MAIN commitmail json YAML

2014-08-03 11:44:52 UTC MAIN commitmail json YAML

req cannot be PRU_SENDOOB here as per KASSERT() earlier in the
rip_usrreq() function.

-      KASSERT(!control || (req == PRU_SEND || req == PRU_SENDOOB));
+      KASSERT(!control || (req == PRU_SEND));

(rtr)

2014-08-02 03:55:26 UTC MAIN commitmail json YAML

restore splsoftnet() in various usrreqs that were removed during the PRU
splits.  we will properly review removal after the PRU split work is
complete.

(rtr)

2014-07-31 15:16:06 UTC MAIN commitmail json YAML

release mbuf on failure of PRU_SEND

(rtr)

2014-07-31 14:12:57 UTC MAIN commitmail json YAML

* remove declarations of unp_bind, unp_discard, unp_disconnect1, unp_drop,
  unp_shutdown1, unp_internalize and unp_output functions from sys/un.h
  and  instead declare them as static in uipc_usrreq.c with prototype
  declarations as necessary.

* remove struct lwp * parameter from unp_output() while here and just
  use curlwp instead.

as discussed with rmind

(rtr)

2014-07-31 13:21:33 UTC MAIN commitmail json YAML

split PRU_CONNECT, PRU_RCVOOB and PRU_SENDOOB into separate functions
(all implemented as EOPNOTSUPP).

(rtr)

2014-07-31 05:37:00 UTC MAIN commitmail json YAML

add missing KASSERT(req != PRU_XXX) to mpls_usrreq() for PRUs that have
already been split.

(rtr)

2014-07-31 05:13:53 UTC MAIN commitmail json YAML

fix missed conversion to call to pr_connect() from pr_generic() when
PRU_CONNECT split was done.

-                      error = (*so->so_proto->pr_usrreqs->pr_generic)(so,
-                          PRU_CONNECT, NULL, nam, NULL, l);
+                      error = (*so->so_proto->pr_usrreqs->pr_connect)(so, nam);

without this change KASSERT() would be triggered if raw send needs to
perform a connect.

(rtr)

2014-07-31 03:39:36 UTC MAIN commitmail json YAML

split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out of
pr_generic() usrreq switches and put into separate functions

  xxx_disconnect(struct socket *)
  xxx_shutdown(struct socket *)
  xxx_abort(struct socket *)

  - always KASSERT(solocked(so)) even if not implemented
  - replace calls to pr_generic() with req =
PRU_{DISCONNECT,SHUTDOWN,ABORT}
    with calls to pr_{disconnect,shutdown,abort}() respectively

rename existing internal functions used to implement above functionality
to permit use of the names for xxx_{disconnect,shutdown,abort}().

  - {l2cap,sco,rfcomm}_disconnect() ->
{l2cap,sco,rfcomm}_disconnect_pcb()
  - {unp,rip,tcp}_disconnect() -> {unp,rip,tcp}_disconnect1()
  - unp_shutdown() -> unp_shutdown1()

patch reviewed by rmind

(rtr)

2014-07-30 10:04:26 UTC MAIN commitmail json YAML

split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions

  xxx_listen(struct socket *, struct mbuf *)

  - always KASSERT(solocked(so)) and KASSERT(nam != NULL)
  - replace calls to pr_generic() with req = PRU_CONNECT with
    pr_connect()
  - rename existin {l2cap,sco,rfcomm}_connect() to
    {l2cap,sco,rfcomm}_connect_pcb() respectively to permit
    naming consistency with other protocols functions.
  - drop struct lwp * parameter from unp_connect() and at_pcbconnect()
    and use curlwp instead where appropriate.

patch reviewed by rmind

(rtr)

2014-07-30 06:53:53 UTC MAIN commitmail json YAML

put boilerplate extraction of inpcb or in6pcb and tcpcb performed in tcp
usrreqs into a function that can be called instead of cut & pasting it
to every single usrreq function.

tcp_getpcb(struct socket *, struct inpcb **, struct in6pcb **, struct tcpcb **)

  * examines the family of the provided socket and fills in either inpcb
    or in6pcb and tcpcb.
  * if the pcb is not present for the family of the socket EINVAL is
    returned, if the family is not AF_INET{,6} EAFNOSUPPORT is returned.

signature provided by and patch reviewed by rmind

(rtr)

2014-07-28 10:09:51 UTC MAIN commitmail json YAML

add missing KASSERT()s at the top of sockin_usrreq(), req shall not be
either of these operations.

>      KASSERT(req != PRU_BIND);
>      KASSERT(req != PRU_LISTEN);

(rtr)

2014-07-24 16:02:19 UTC MAIN commitmail json YAML

cleanup after last commit

- add KASSERT(req != PRU_BIND) and KASSERT(req != PRU_LISTEN) inside
  tcp_usrreq() as these reqs should no longer reach here.
- remove (now unreachable) PRU_LISTEN case in switch.

(rtr)

2014-07-24 15:12:04 UTC MAIN commitmail json YAML

split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq
switches and put into separate functions
  xxx_bind(struct socket *, struct mbuf *)
  xxx_listen(struct socket *)

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_BIND with call to
    pr_bind()

  - replace calls to pr_generic() with req = PRU_LISTEN with call to
    pr_listen()

  - drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and
    unp_bind() and always use curlwp.

rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_{bind,listen}() PRUs

  - l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb()
  - sco_{bind,listen}() -> sco_{bind,listen}_pcb()
  - rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()

patch reviewed by rmind

welcome to netbsd 6.99.48

(rtr)

2014-07-23 13:17:19 UTC MAIN commitmail json YAML

split PRU_SENDOOB and PRU_RCVOOB function out of pr_generic() usrreq
switches and put into separate functions
  xxx_sendoob(struct socket *, struct mbuf *, struct mbuf *)
  xxx_recvoob(struct socket *, struct mbuf *, int)

  - always KASSERT(solocked(so)) even if request is not implemented

  - replace calls to pr_generic() with req = PRU_{SEND,RCV}OOB with
    calls to pr_{send,recv}oob() respectively.

there is still some tweaking of m_freem(m) and m_freem(control) to come
for consistency.  not performed with this commit for clarity.

reviewed by rmind

(rtr)

2014-07-14 13:39:18 UTC MAIN commitmail json YAML

fix fat fingered KASSERT(solocked(0)) -> KASSERT(solocked(so)) mistake.

spotted by Takahiro HAYASHI

(rtr)

2014-07-14 13:20:41 UTC MAIN commitmail json YAML

pr_generic() for req = PRU_RCVOOB is always called with control == NULL
so don't bother with a conditional block that handles non-NULL, it
doesn't happen.

(rtr)

2014-07-09 15:37:55 UTC MAIN commitmail json YAML

fix name clash i introduced when adding sockin_accept() pru by renaming
the rump sockin_accept(struct socket *) to sockin_waccept(struct socket *)

not a very creative name the 'w' indicates worker and was chosen to
prefix the word accept to make it not pattern match with _accept. if
someone prefers a different name then please feel free to change it.

(rtr)

2014-07-09 14:41:43 UTC MAIN commitmail json YAML

2014-07-09 04:54:04 UTC MAIN commitmail json YAML

* split PRU_PEERADDR and PRU_SOCKADDR function out of pr_generic()
  usrreq switches and put into separate functions
  xxx_{peer,sock}addr(struct socket *, struct mbuf *).

    - KASSERT(solocked(so)) always in new functions even if request
      is not implemented

    - KASSERT(pcb != NULL) and KASSERT(nam) if the request is
      implemented and not for tcp.

* for tcp roll #ifdef KPROF and #ifdef DEBUG code from tcp_usrreq() into
  easier to cut & paste functions tcp_debug_capture() and
tcp_debug_trace()

    - functions provided by rmind
    - remaining use of PRU_{PEER,SOCK}ADDR #define to be removed in a
      future commit.

* rename netbt functions to permit consistency of pru function names
  (as has been done with other requests already split out).

    - l2cap_{peer,sock}addr()  -> l2cap_{peer,sock}_addr_pcb()
    - rfcomm_{peer,sock}addr() -> rfcomm_{peer,sock}_addr_pcb()
    - sco_{peer,sock}addr()    -> sco_{peer,sock}_addr_pcb()

* split/refactor do_sys_getsockname(lwp, fd, which, nam) into
  two functions do_sys_get{peer,sock}name(fd, nam).

    - move PRU_PEERADDR handling into do_sys_getpeername() from
      do_sys_getsockname()
    - have svr4_stream directly call do_sys_get{sock,peer}name()
      respectively instead of providing `which' & fix a DPRINTF string
      that incorrectly wrote "getpeername" when it meant "getsockname"
    - fix sys_getpeername() and sys_getsockname() to call
      do_sys_get{sock,peer}name() without `which' and `lwp' & adjust
      comments
    - bump kernel version for removal of lwp & which parameters from
      do_sys_getsockname()

note: future cleanup to remove struct mbuf * abuse in
xxx_{peer,sock}name()
still to come, not done in this commit since it is easier to do post
split.

patch reviewed by rmind

welcome to 6.99.47

(rtr)

2014-07-07 17:13:57 UTC MAIN commitmail json YAML

2014-07-07 15:13:22 UTC MAIN commitmail json YAML

backout change that made pr_stat return EOPNOTSUPP for protocols that
were not filling in struct stat.

decision made after further discussion with rmind and investigation of
how other operating systems behave.  soo_stat() is doing just enough to
be able to call what gets returned valid and thus justifys a return of
success.

additional review will be done to determine of the pr_stat functions
that were already returning EOPNOTSUPP can be considered successful with
what soo_stat() is doing.

(rtr)

2014-07-07 10:18:20 UTC MAIN commitmail json YAML

return EOPNOTSUPP for pr_stat instead of returning success since we
don't fill in the struct stat passed to us.

(rtr)

2014-07-07 07:09:59 UTC MAIN commitmail json YAML

* have pr_stat return EOPNOTSUPP consistently for all protocols that do
  not fill in struct stat instead of returning success.

* in pr_stat remove all checks for non-NULL so->so_pcb except where the
  pcb is actually used (i.e. cases where we don't return EOPNOTSUPP).

proposed on tech-net@

(rtr)

2014-07-06 16:18:46 UTC MAIN commitmail json YAML

* split PRU_SENSE functionality out of sockin_usrreq() and place into
  separate sockin_stat(struct socket *, struct stat *) function.
* change behavior of function to just return success (like pretty much
  every other implementation) instead of panic()ing due to lack of
  implementation.

(rtr)

2014-07-06 16:06:19 UTC MAIN commitmail json YAML

* split PRU_SENSE functionality out of link_usrreq() and place into
  separate link_stat(struct socket *, struct stat *) function

(rtr)

2014-07-06 15:49:14 UTC MAIN commitmail json YAML

* #include <sys/kmem.h> for kmem_intr_free()
* add missing variables used by natm_attach(), natm_ioctl()

(rtr)

2014-07-06 15:44:25 UTC MAIN commitmail json YAML

* #include <sys/kmem.h> for kmem_intr_xxx()
* ansify pcb_add() function signature and make its prototype parameter
  types match its definition.

(rtr)

2014-07-06 15:09:38 UTC MAIN commitmail json YAML

fix pasto in function name should be natm_stat instead of natm_ioctl

(rtr)

2014-07-06 04:47:26 UTC MAIN commitmail json YAML

* split PRU_SENSE functionality out of mpls_usrreq() and place into
  separate mpls_stat(struct socket *, struct stat *) function

missed this in previous commit, fixes build of ALL kernel.

(rtr)

2014-07-06 03:33:33 UTC MAIN commitmail json YAML

* split PRU_SENSE functionality out of xxx_usrreq() switches and place into
  separate xxx_stat(struct socket *, struct stat *) functions.
* replace calls using pr_generic with req == PRU_SENSE with pr_stat().

further change will follow that cleans up the pattern used to extract the
pcb and test for its presence.

reviewed by rmind

(rtr)

2014-07-01 13:25:21 UTC MAIN commitmail json YAML

Bump to version 6.99.45 for removal of struct lwp * parameter from pr_ioctl

(rtr)

2014-07-01 05:49:19 UTC MAIN commitmail json YAML

fix parameter types in pr_ioctl, called xx_control() functions and remove
abuse of pointer to struct mbuf type.

param2 changed to u_long type and uses parameter name 'cmd' (ioctl command)
param3 changed to void * type and uses parameter name 'data'
param4 changed to struct ifnet * and uses parameter name 'ifp'
param5 has been removed (formerly struct lwp *) and uses of 'l' have been
      replaced with curlwp from curproc(9).

callers have had (now unnecessary) casts to struct mbuf * removed, called
code has had (now unnecessary) casts to u_long, void * and struct ifnet *
respectively removed.

reviewed by rmind@

(rtr)

2014-06-28 09:16:18 UTC MAIN commitmail json YAML

patch posted to tech-kern@ 2014/06/25 for review with minor changes
resulting from feedback.

move multiple copies of code for parsing boot.cfg file from sparc, i386
and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic
in addition to keeping sparc dispatch function while remaining consistent
with boot.cfg(5).

previous sparc64 file format has been obsoleted but only used by boot
CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate.

exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per
feedback from christos@

tested on amd64 & sparc64 but not zaurus.

(rtr)

2014-06-23 17:18:45 UTC MAIN commitmail json YAML

where appropriate rename xxx_ioctl() struct mbuf * parameters from
`control' to `ifp' after split from xxx_usrreq().

sys_socket.c
    fix wrapping of arguments to be consistent with other function calls
    in the file after replacing pr_usrreq() call with pr_ioctl() which
    required one less argument.

link_proto.c
    fix indentation of parameters in link_ioctl() prototype to be
    consistent with the rest of the file.

discussed with rmind@

(rtr)

2014-06-22 08:10:19 UTC MAIN commitmail json YAML

* split PRU_CONTROL functionality out of xxx_userreq() switches and place
  into separate xxx_ioctl() functions.
* place KASSERT(req != PRU_CONTROL) inside xxx_userreq() as it is now
  inappropriate for req = PRU_CONTROL in xxx_userreq().
* replace calls to pr_generic() with req = PRU_CONTROL with pr_ioctl().
* remove & fixup references to PRU_CONTROL xxx_userreq() function comments.
* fix various comments references for xxx_userreq() that mentioned
  PRU_CONTROL as xxx_userreq() no longer handles the request.

a further change will follow to fix parameter and naming inconsistencies
retained from original code.

Reviewed by rmind@

(rtr)

2010-12-12 00:19:44 UTC MAIN commitmail json YAML

add obsolete entries for libamu to make MKDEBUGLIB=yes work on amd64 again

(rtr)

2010-12-11 10:41:13 UTC MAIN commitmail json YAML

add missing liblua_g.a debuglib entries needed for MKDEBUGLIB=yes

(rtr)

2009-01-15 12:35:13 UTC MAIN commitmail json YAML

use PRIu64 format to print major and minor dev_t
from Wojciech Galazka on current-users@

(rtr)

2009-01-13 11:35:24 UTC MAIN commitmail json YAML

use do_sys_mknod() instead of sys_mknod() to make this compile again.

ok'd by martin@

(rtr)

2009-01-13 06:04:55 UTC MAIN commitmail json YAML

use PRIu64 to print 64 bit dev_t

(rtr)

2009-01-13 04:31:12 UTC MAIN commitmail json YAML

2009-01-12 11:53:23 UTC MAIN commitmail json YAML

2008-11-24 07:51:51 UTC MAIN commitmail json YAML

* install only wsfb driver and manpages for netwinder
* don't install client side dri modules for netwinder
* remove module and driver entries from set lists for netwinder that
  are no longer installed.

(rtr)

2008-11-07 10:55:28 UTC MAIN commitmail json YAML

add entries for MKDEBUG=yes
  - xmlwf.debug
  - fc-match.debug
  - fc-cat.debug

(rtr)

2008-11-07 10:24:18 UTC MAIN commitmail json YAML

2008-10-20 09:33:48 UTC MAIN commitmail json YAML

- fix crazy condition that always evaluates to false without this
  iwn_fix_channel() never gets called.
- remove hardcode to ic->ic_channels[11]

fixes a problem in associating to access points

(rtr)

2008-10-13 11:12:33 UTC MAIN commitmail json YAML

2008-10-13 11:11:35 UTC MAIN commitmail json YAML

add -I${DESTDIR}${X11INCDIR}/X11/dri to CPPFLAGS if DRI is enabled it
is needed but not added where DRI=yes is set so do it here

add ${X11FLAGS.EXTENSION} to CPPFLAGS since many of the drivers build
options depending on extensions enabled.

(rtr)

2008-10-12 03:09:10 UTC MAIN commitmail json YAML

add reachover build for xf86-video-nvxbox

(rtr)

2008-10-06 10:33:44 UTC MAIN commitmail json YAML

make sure libdixmods (linked into the Xorg server) is aware of MITSHM and
other server extensions.

(rtr)

2008-09-26 11:02:12 UTC MAIN commitmail json YAML

whitespace tweak
  - one subdir per line
  - one condition per line
  - sort subdirs

should allow future manipulation to minimize line changes

(rtr)

2008-09-26 07:15:53 UTC MAIN commitmail json YAML

2008-09-26 07:02:58 UTC MAIN commitmail json YAML

2008-09-26 06:57:04 UTC MAIN commitmail json YAML

2008-09-25 15:02:58 UTC MAIN commitmail json YAML

add missing SRCS to libglx module and archive (now it works)

(rtr)

2008-09-25 14:15:55 UTC MAIN commitmail json YAML

2008-09-25 14:15:06 UTC MAIN commitmail json YAML

2008-09-25 14:08:12 UTC MAIN commitmail json YAML

ioport.debug does not belong in the mi set

(rtr)

2008-09-25 14:06:52 UTC MAIN commitmail json YAML

2008-09-25 13:58:41 UTC MAIN commitmail json YAML

build pcitweak, scanpci for netwinder (used to do this on xfree)
build arm_video and related for netwinder
build netbsdPci for netwinder

(rtr)

2008-09-25 12:30:04 UTC MAIN commitmail json YAML

don't make LIBDIR.GL/glx descending there is disabled currently

(rtr)

2008-09-24 10:11:29 UTC MAIN commitmail json YAML

2008-09-23 11:33:56 UTC MAIN commitmail json YAML

add more includes to CPPFLAGS for dri/drm

(rtr)

2008-09-23 11:33:16 UTC MAIN commitmail json YAML

descend into xf86-video-mach64

(rtr)

2008-09-22 08:22:45 UTC MAIN commitmail json YAML

2008-09-22 08:21:34 UTC MAIN commitmail json YAML

2008-09-21 12:10:34 UTC MAIN commitmail json YAML

add /usr/X11R7/lib/modules/dri

(rtr)

2008-09-18 10:57:03 UTC MAIN commitmail json YAML

switch back to using USE_I386_IOPL for amd64 since it gets us x86_64_iopl
if __x86_64__ is defined. this should fix libxorgos.a build on amd64.

USE_AMD64_IOPL is for openbsd if the configure.ac is to be believed.

XXX we may also want to enable PCCONS_SUPPORT and HAS_APERTURE_DRV for
    amd64 as well?

(rtr)

2008-09-15 08:05:19 UTC MAIN commitmail json YAML

replace XTHREAD_CFLAGS with _REENTRANT instead of _POSIX_THREAD_SAFE_FUNCTIONS
as is done in pkgsrc.

(rtr)

2008-09-09 08:25:31 UTC MAIN commitmail json YAML

fix amd64 lists for MKDEBUG=yes MKXORG=yes

(rtr)

2008-09-07 13:15:50 UTC MAIN commitmail json YAML

2008-09-07 13:15:11 UTC MAIN commitmail json YAML

2008-09-07 13:12:28 UTC MAIN commitmail json YAML

use XLOCALE.DEFINES from bsd.x11.mk

(rtr)

2008-09-07 13:10:22 UTC MAIN commitmail json YAML

add XLOCALE.DEFINES for locale path defs, easier to manage them here
than deep in the reachover.

(rtr)

2008-09-06 07:34:24 UTC MAIN commitmail json YAML

2008-09-06 06:40:29 UTC MAIN commitmail json YAML

remove commented out CPPFLAGS

(rtr)

2008-09-06 06:37:58 UTC MAIN commitmail json YAML

add xorg list entries for xinput binary and manpages

(rtr)

2008-09-06 06:32:05 UTC MAIN commitmail json YAML

2008-09-06 03:22:04 UTC MAIN commitmail json YAML

add entry for xorgversion.def that is now installed

(rtr)

2008-09-05 12:12:05 UTC MAIN commitmail json YAML

install xorgversion.def

(rtr)

2008-09-04 12:29:14 UTC MAIN commitmail json YAML

enable WSCONS_SUPPORT for the keyboard driver

(rtr)

2008-09-04 08:04:31 UTC MAIN commitmail json YAML

add chooser.debug and xorgconfig.debug entries for xorg when MKDEBUG=yes

(rtr)

2008-09-02 05:45:58 UTC MAIN commitmail json YAML

revert previous since it causes xorg to break when loading configuration

(rtr)

2008-09-01 10:37:20 UTC MAIN commitmail json YAML

- move build of showrgb to x11/bin/showrgb
- build and install rgb to destdir
- use host rgb to generate rgb.db database at build time and install it
- fix set list for above

should resolve pr/36836

(rtr)

2008-09-01 10:24:15 UTC MAIN commitmail json YAML

build rgb as a host tool so we can generate the rgb database for the
Xmac68k server.

(rtr)

2008-09-01 10:20:20 UTC MAIN commitmail json YAML

- build miext for netwinder, sparc64
- adjust CPPFLAGS for includes needed for sparc64

(rtr)

2008-09-01 10:18:03 UTC MAIN commitmail json YAML

split the exa sources into those required by the archive and those by
the module (like most others) so the sources are exposed for the module
build.
use LIPISPRIVATE=yes for the libexa.a build even though this is mostly
irrelevant since we don't need to build the archive only the module.

(rtr)

2008-09-01 10:15:08 UTC MAIN commitmail json YAML

don't link libexa.a into the Xorg server. instead build the loadable
module with the correct set of sources and they shall provide what is
needed for the i830 driver at runtime.

(rtr)

2008-09-01 08:08:36 UTC MAIN commitmail json YAML

remove x11 entry for XF86Config.5 since it is not mi
discovered by: Juergen Hannken-Illjes while building evbppc

(rtr)

2008-08-31 12:28:56 UTC MAIN commitmail json YAML

add missing symbol table entry
should resolve pr36039

(rtr)

2008-08-31 09:58:47 UTC MAIN commitmail json YAML

- don't build lnx_agp.c on !AGP machines
- build the .c versions of BUSmemcpy.c IODelay.c SlowBcopy.c for any
  of macppc cats sgimips sparc64 sparc netwinder shark ofppc

(rtr)

2008-03-21 10:24:13 UTC MAIN commitmail json YAML

when the char being searched for is not found strchr() must return NULL
not a pointer to the terminating '\0'. the only time we return a pointer
to the terminating '\0' is when the char being searched for is '\0'.

fixes problem observed booting -current install
http://mail-index.netbsd.org/current-users/2008/03/20/msg001445.html

(rtr)

2008-03-15 11:45:18 UTC MAIN commitmail json YAML

whitespace '\t' -> ' '

(rtr)